Jump to content

quick iframe question


jbrill

Recommended Posts

any other ways to refresh an "included" part of a page without using iframe?

 

You can reload parts of a page using ajax. Not sure if this is really a viable solution - depends on the content of your steps.php page. I'd probably go for the iframe.

Link to comment
Share on other sites

Given that structure, you should be able to use javascript to hide the first step and display the second step.

 

I think Javascript is more of a viable solution for you. Not necessarily AJAX, just plain old javascript, you can code a function in the new window submit which posts to the main page and hides <div id="step1"> and displays <div id="step2">

Link to comment
Share on other sites

the div window on the main page is supposed to display all the entries that have been entered (kind of like a guestbook) only problem im having is since the "Add step" opens a new window for adding items the the database, once added the user needs to refresh the whole page to see the new entries, i would rather just be able to refresh the div, to display all the entries and the new ones

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.