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
Refreshing Div Content with in a page;
Old 07-15-2008, 06:44 AM Refreshing Div Content with in a page;
Junior Talker

Posts: 3
Name: Matt Crisp
Trades: 0
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
 
 
Register now for full access!
Old 07-15-2008, 07:36 AM Re: Refreshing Div Content with in a page;
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Read the forum "stickies" on AJAX methods.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-15-2008, 12:29 PM Re: Refreshing Div Content with in a page;
Junior Talker

Posts: 3
Name: Matt Crisp
Trades: 0
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, 01:18 PM Re: Refreshing Div Content with in a page;
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
so AJAX methods will be fine then. seeing as it is a mix of javascript and ANY server side code.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 07-15-2008, 04:05 PM Re: Refreshing Div Content with in a page;
Junior Talker

Posts: 3
Name: Matt Crisp
Trades: 0
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, 05:25 PM Re: Refreshing Div Content with in a page;
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
start off with the basics of learning how to get the data from the server

http://www.w3schools.com/ajax/ajax_httprequest.asp
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
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 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.17986 seconds with 12 queries