473,386 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Execute the code after reload

168 100+
Dear Experts,
In my html page i use an frame
by clicking the button on right frame the left frame src should change.
It changes but the statements after reload are not executed

My Pbm
How to execute script on reloaded page. after reloading....
on a single click
Please advice.
Rengaraj.R.
Mar 14 '09 #1
8 1869
gits
5,390 Expert Mod 4TB
could you please give an example of the code in question? how do you reload the page?

kind regards
Mar 14 '09 #2
rengaraj
168 100+
Sir,
I hav two frames left & right
If i click an button on right frame
the left frame url should be changed & the innerHTML of new url should be fetched...

For this...
how i can find the page has been loaded or not???
Please Advice
Rengaraj.R
Mar 14 '09 #3
gits
5,390 Expert Mod 4TB
you have to wait for the onload event of that page ... you may trigger something from the page that is to b loaded or poll for something that is initialized in the pages onload. alteratively you coud use an ajax-call to load the page ... this would work unless the pages are from different domains ...

kind regards
Mar 15 '09 #4
rengaraj
168 100+
Sir,
i need cross domain access
please giv me an demo.
Advance Thanks
Rengaraj
Mar 15 '09 #5
gits
5,390 Expert Mod 4TB
then you need some proxy mechanism like this one
Mar 15 '09 #6
rengaraj
168 100+
Sir,
without using ajax Please suggest.
I need to fetch the html code of iframe/frame webpage.
Advance Thanks,
Rengaraj
Mar 15 '09 #7
gits
5,390 Expert Mod 4TB
then it would be the same basic solution ... your webproxy needs to request the 'foreign' page and serve it to your app as one of yours ...
Mar 15 '09 #8
rengaraj
168 100+
Thanks
I got the solution
Apr 1 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

66
by: Ellinghaus, Lance | last post by:
> > Other surprises: Deprecating reload() >Reload doesn't work the way most people think >it does: if you've got any references to the old module, >they stay around. They aren't replaced. ...
4
by: Fred | last post by:
I have read and tried every combination for hours. I'm sorry, but I don't get it. How do I have a form with textboxes and buttons and allow click events to execute a server function then display...
19
by: Darren | last post by:
I have a page that opens a popup window and within the window, some databse info is submitted and the window closes. It then refreshes the original window using window.opener.location.reload(). ...
4
by: Lonnie Princehouse | last post by:
So, it turns out that reload() fails if the module being reloaded isn't in sys.path. Maybe it could fall back to module.__file__ if the module isn't found in sys.path?? .... or reload could...
2
by: darrel | last post by:
I've been struggling with a page that is set up like this: PAGE: ------------------ control 1 - reads a cookie and executes stuff based on that control 2 - reads the same cookie and can also...
4
by: zek2005 | last post by:
Hi!!!! I need that when the user goes back to the last page with the "Back" button of the browser, the page executes the php code again. Is there any code to insert in php that implies a...
3
by: John Salerno | last post by:
I understand that after you import something once, you can reload it to pick up new changes. But does reload work with from statements? I tried this: from X import * and then did my testing....
1
by: bernhard.voigt | last post by:
Hey! I'm using ipython as my python shell and often run scripts with the magic command %run: In : %run script.py If modules are loaded within the script these are not reloaded when I rerun...
0
by: androusm | last post by:
Hi all, I have a problem with reload my servlet with tomcat 5.0.27 My servlet is the one example of the struts "struts-example". I also make changes and want to reload it by tomcat 5.0.27. ...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.