Reply
Refreshing Div Content with in a page;
Old 07-15-2008, 07:44 AM Refreshing Div Content with in a page;
Junior Talker

Posts: 3
Name: Matt Crisp
Hello Guys!

Ive been sitting infromt of my pc for ages and still no luck.. so here i go.

Ive got a div on my page which contains a dropdownlist (populated from a mysql) I need a link on the page that fefreshes the list when clicked as users can edit the mysql (from a popup page). And they will want to see their edits. I dont want to refresh the whole page as they would then loose data they have typed in any other fields.

all idears would be greatly appreciated?

Thanks
CrispWebdesign is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-15-2008, 08:36 AM Re: Refreshing Div Content with in a page;
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Am I impressed or what?
Posts: 14,899
Location: Blackpool. UK
Read the forum "stickies" on AJAX methods.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-15-2008, 01:29 PM Re: Refreshing Div Content with in a page;
Junior Talker

Posts: 3
Name: Matt Crisp
Not really what i was looking for as im description only allows me to use js and php
CrispWebdesign is offline
Reply With Quote
View Public Profile
 
Old 07-15-2008, 02:18 PM Re: Refreshing Div Content with in a page;
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Am I impressed or what?
Posts: 14,899
Location: Blackpool. UK
so AJAX methods will be fine then. seeing as it is a mix of javascript and ANY server side code.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-15-2008, 05:05 PM Re: Refreshing Div Content with in a page;
Junior Talker

Posts: 3
Name: Matt Crisp
Ajax looks really complicated, what function would you recoment couldnt seem to use a refresh without refreshing the whole page?
CrispWebdesign is offline
Reply With Quote
View Public Profile
 
Old 07-15-2008, 06:25 PM Re: Refreshing Div Content with in a page;
chrishirst's Avatar
Super Moderator

Latest Blog Post:
Am I impressed or what?
Posts: 14,899
Location: Blackpool. UK
start off with the basics of learning how to get the data from the server

http://www.w3schools.com/ajax/ajax_httprequest.asp
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Indifference will be the downfall of mankind, but who cares?
Code Samples | People Counting System
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to Refreshing Div Content with in a page;
 

Thread Tools

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

vB 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.13103 seconds with 12 queries