Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Old 04-11-2009, 08:29 PM Ajax refresh Div
Junior Talker

Posts: 1
Name: Silvia
Trades: 0
I need to refresh a div. Just refresh, reload, with the same content. I tried the Ajax.Updater from the prototype framework but it needs an Url and I just want to update the div. I have an "aspx" page. But I just want to reload the div because it has an "if" that shows diferent content when a check box is selected. Please, Help Me!!
silba is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-11-2009, 09:34 PM Re: Ajax refresh Div
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
Sounds like we need to chat and ftp, yahoo me, butchtroll
__________________
Sleeping Troll, EMUSE, Mind Expansion...Truly serendipity!
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
Old 04-11-2009, 10:21 PM Re: Ajax refresh Div
JeremyMiller's Avatar
WT Moderator

Posts: 1,712
Name: Jeremy Miller
Location: Las Vegas, NV
Trades: 0
Post your code for better help.
__________________
Jeremy Miller

Please login or register to view this content. Registration is FREE
JeremyMiller is offline
Reply With Quote
View Public Profile Visit JeremyMiller's homepage!
 
Old 04-13-2009, 07:46 PM Re: Ajax refresh Div
Sleeping Troll's Avatar
Ultra Talker

Posts: 351
Name: Butch Begy
Trades: 0
OK, I am guessing you won't understand a word of this... You need to use the onchange event to call a script to test the value of the changed box then write to the div in the DOM or use the innerHTML property of a surrounding tag. no ajax needed, unless you need to retrieve some data from the server.

P.S. the url in the ajax updater is that of the handler script , not of a new page... ajax does send a request for a page , but it does nothing with the response... unless you execute on it. I am guessing you are not real clear on the client / server / header relationship. No offense, but like I said, we need to chat... that is if you have even read any of these responses.
__________________
Sleeping Troll, EMUSE, Mind Expansion...Truly serendipity!

Last edited by Sleeping Troll; 04-14-2009 at 06:48 PM..
Sleeping Troll is offline
Reply With Quote
View Public Profile
 
Old 09-25-2009, 10:59 AM Re: Ajax refresh Div
Novice Talker

Posts: 11
Name: Robert Gouveia
Trades: 0
I am in need of the same thing, has anyone got a code which will help?
RobbieG is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Ajax refresh Div
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14499 seconds with 12 queries