Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing a Div tag 1

Status
Not open for further replies.

DonHawaii

Programmer
Jul 27, 2006
35
US
I actually want to do 2 things
1 - Change the src for a script then
2 - Refresh just the div it resides in

The src doesn't seem to be a problem but how can I just refresh the div and not the page?

I tried innerHTML but can't seem to get JS to write JS into the div
 
I did it the easy way. I used an iframe and used the timer to refresh the underlying page. Works like a champ.

But having to break up the js code is one of the answers I was looking for initially.

DonOmite
 
Wow, did you *just* now come back to this thread? It's a month old.....

-kaht

Looking for a puppy?

silky-icon-left.gif
[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
silky-icon-right.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top