Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
refresh_div
- Page 1
Re: How to show visa info based on country selection in a travel form?
Programming
Web Development
2 Weeks Ago
by Biiim
I felt like some fun, so I just put together an example for you using CDN's and bootstrap 5. From what you are talking about you probably want to put some of that logic into the Javascript and not need to send a server request for each one, I usually do this kind of thing with javascript objects/arrays (eg `settings['GB']['visa_req'] = false;…
Re: Any jQuery 4 users?
Programming
Web Development
2 Months Ago
by Neil_brown001
Hey, no judgment here — if it works, it works! 😄 I’ve been testing out the jQuery 4 beta on a couple of legacy projects and so far, it’s been pretty smooth. The devs have done a solid job keeping backward compatibility in mind while modernizing under the hood. Here are a few things I've noticed: Performance feels snappier in general, …
Re: Is linux your daily driver?
Hardware and Software
Linux and Unix
1 Month Ago
by trcooke
While I was at university 20 years ago one of my course friends regularly extolled the virtues of Linux. He was a big fan of Gentoo which I never really got into, he like fiddling with the configuration and I liked a working system, two characteristics that rarely overlapped for me except for rare moments. But, I was sold on Linux in general and…
Re: how to refresh DIV in one page without reloadin it.
Programming
Web Development
15 Years Ago
by BzzBee
in what sense you are saying to refresh div? using ajax you can refresh any div or you have just static content and want to chage that static content then you can hide any div using javascript and can how any other div of same height width with different id
Refresh DIV tag AJAX (Multiple DIVs)
Programming
Web Development
16 Years Ago
by inspireddesign
Hello all, My first problem is that I would like to refresh a DIV tag on the same page using href onclick handler. Currently I can't seem to get this to work with the code I've developed. My second problem is that once this works for one DIV I would like that same function to refresh another DIV on the same page using another href. The div …
Re: Refresh DIV tag AJAX (Multiple DIVs)
Programming
Web Development
16 Years Ago
by Airshow
Ispired, You are on the right lines there but the code was getting a bit confused. You really need to know javascript well before diving into ajax. It's not really the place to start. Anyways, here is some revised code (tested under IE6 - should work on most modern browsers). [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 …
Re: Refresh DIV tag AJAX (Multiple DIVs)
Programming
Web Development
13 Years Ago
by okansari
i found an example but one div refresh http://www.sikintivar.com/ajax-ile-belirli-bir-divi-belli-surelerde-yenilemek-div-refresh.html
Refresh div on submit
Programming
Web Development
11 Years Ago
by Hazuan Nazri
HELLO FRIENDS!, i have problem here, i try to show mysql data using dreamweaver, now i already change the sql statement to show data when user choose the data from select list/view and click submit, so thats mean i add 'where my_column = $_POST' and its work, but the problem come when user want to show next data (Recordset Paging) the page will …
Refresh DIV Every 10 Seconds
Programming
Web Development
15 Years Ago
by WickidGRAFX
I have some ad code in a smarty .tpl file that I want to refresh every 10 seconds so it will load a new ad. My ads are getting plenty of views but I want people to multilple ads in one page view instead of when the whole page is refreshed. [CODE] <div id="ads_refresh"> {if $ads->ad_top != ""} </div> [/CODE]…
Re: Refresh DIV Content Without Reloading Page
Programming
Web Development
4 Years Ago
by Sananil
If i remove location.reload() update not showing. i need to refresh the browser .. then only show update content
Re: Refresh DIV Every 10 Seconds
Programming
Web Development
15 Years Ago
by WickidGRAFX
That will not work in my case. The SMARTY template loads the ads in at run time through a database query and then the core of the application that I am not to familiar with, then keeps track of what ads to display and tracks clicks. The ad is changed everytime the page is refreshed. I thought there was a way AJAX could refresh a single element on …
Re: Refresh div on submit
Programming
Web Development
11 Years Ago
by iamthwee
Try something simple 1.Create a div and a button. 2.In your jquery/ajax use a click event handler to query a simple php file. 3.Make the php return one single variable 4.On success update the div to return that php variable. ^^That's how I would go at it.
Re: Refresh div on submit
Programming
Web Development
11 Years Ago
by Hazuan Nazri
Thank you diafol!, i already make it, but i only can show 1 row data only, if i can add next link or button to next data in the same DIV, its really good, can you help me?
Re: Refresh DIV Every 10 Seconds
Programming
Web Development
15 Years Ago
by pritaeas
You can use javascript/jquery to rotate through content in a div. There are a lot of examples out there, so it depends mostly on how you want it to look, and what content you have. Something like this perhaps: [url]http://www.sohtanaka.com/web-design/automatic-image-slider-w-css-jquery/[/url]
Refresh DIV Content Without Reloading Page
Programming
Web Development
4 Years Ago
by Sananil
Hi, first of all let me thank anyone willing to help out with this. Jquery / Ajax update Span or Div by ID without refreshing page <?php } $select = $DatabaseCo->dbLink->query("select sh_id from shortlist where to_id='" . $Row->matri_id . "' and from_id='" . $user_id . "'"); if (…
Re: Refresh DIV Content Without Reloading Page
Programming
Web Development
4 Years Ago
by lps
location.reload() will reload the document, while your code only need the div to be replaced. So in my opinion, can try remove those location.reload() and try again
Ajax/Javascript Refresh div help?
Programming
Web Development
14 Years Ago
by public-image
Hi Everyone, I have got a DIV that I need to refresh, its content consists of an image that will change on the insertion of a row to the SQL Database, however, when I use a refresh on my div it does refresh but does not change the image... My refresh code is ajax: [code] <script> var auto_refresh = setInterval( function () { $('#update').…
Re: Ajax/Javascript Refresh div help?
Programming
Web Development
14 Years Ago
by hielo
[QUOTE]however, when I use a refresh on my div it does refresh but does not change the image...[/QUOTE] That's because that auto_refresh is NOT making an ajax call to the server. You should INITIALLY have an empty DIV: [iCODE]<div id="update"></div>[/iCODE] Then when you make your ajax call, upon completion you insert the …
Customized selection tag background color not showing after refresh div tag
Programming
4 Years Ago
by Eugene_15
I need to refresh my div tag (galleryadv) after ajax post submits to prepare for the next submit. But after submit successfully and refresh, my customized selection tag always changes to the default selection tag. would need some help to resolve my customized selection tag background color, it changes back to the default color instead of black …
Load JSON data from dropdown navigation area and refresh DIV with new resul
Programming
Web Development
11 Years Ago
by powerson65
I am trying to load different data which are all in one JSON data from a drop down menu to a div area on the web page (eg if one clicks PC on the menu then the items related to PC in the json file will load and if Wii is clicked the relevant items are loaded) which would be refreshed with the new results. I have manged to get the data and show it …
Re: Load JSON data from dropdown navigation area and refresh DIV with new resul
Programming
Web Development
11 Years Ago
by diafol
Thew jsonFile variable takes the info from the data-json attribute. So all you're doing is attaching a '.json' file extension to it to create your 'url' in the $.getJSON call. I didn't see 'products' in your navigation div. But I assume... <li><a href="#" data-json="products">PC products</a></li> …
Re: how to refresh DIV in one page without reloadin it.
Programming
Web Development
15 Years Ago
by diafol
Like bzz says if the info you want to insert into the div is static, you can do this with just js. Give the div an I'd and access this via the old faithful getElementById and set new data with innerHTML prperty. If the data is dynamic/coming from dB. You'll need ajax. I'd recommend using a simple library like prototype to deal with the …
how to refresh DIV in one page without reloadin it.
Programming
Web Development
15 Years Ago
by phpbeginners
Is there anyone who can write a javascript/php code for refreshing the contents of only one DIV container on one page?
Re: Refresh DIV tag AJAX (Multiple DIVs)
Programming
Web Development
14 Years Ago
by glennnall
this doesn't work in FireFox 3 - anyone know why?
Re: Refresh div on submit
Programming
Web Development
11 Years Ago
by diafol
This is Ajax. You may find the jQuery frameowrk useful for this. http://api.jquery.com/jQuery.ajax/ > someone can teach me how can i write the code?? Er, there are many many many tutorials online. How about you have a go yourself and come back with any questions when you get stuck?
Re: Refresh div on submit
Programming
Web Development
11 Years Ago
by Hazuan Nazri
That page i already view it, but....i cant understand anything.....
Re: Refresh div on submit
Programming
Web Development
11 Years Ago
by diafol
which tutorials have you tried?
Re: Refresh div on submit
Programming
Web Development
11 Years Ago
by Hazuan Nazri
iamthwee, can you help me with a sample code, i dont know how to code jquery/ajax.....
Re: Refresh div on submit
Programming
Web Development
11 Years Ago
by pzuurveen
[http://www.w3schools.com/jquery/jquery_ajax_intro.asp](http://www.w3schools.com/jquery/jquery_ajax_intro.asp)
Re: Refresh div on submit
Programming
Web Development
11 Years Ago
by diafol
Are you able to find tutorials by yourself? If not here are a few: https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CDgQFjAB&url=http%3A%2F%2Fnet.tutsplus.com%2Ftutorials%2Fjavascript-ajax%2F5-ways-to-make-ajax-calls-with-jquery%2F&ei=-13VUe_IFcWzhAfh1oAY&usg=…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC