Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 5th, 2005, 04:40 PM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to refresh a pulldown menu?

Hi,

i got a pulldown menu, which contains data from a MySQL-Database-Table.
I need to refresh/reload the menu, in order to check if there are new entries in my database-table. this should be done by clicking a button or just by opening the menu.

thanks and greetings
Simon
 
Old February 6th, 2005, 02:10 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post
Default

You will need to repopulate the list from the server side, so your choices would be as follows :

1. Post the page back to the server and get it to reload the values
2. Use a new window / Iframe to connect to the server to retrieve the rows.
3. Use XML.

There is no way to do this without some connection back to the server.
 
Old February 6th, 2005, 06:12 PM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ok, thx alot :)
i'll try the iframe :)

 
Old February 15th, 2005, 08:23 AM
Registered User
 
Join Date: Feb 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Flicker if that doesn't work out for you you can always eat an ice cream.

 
Old November 26th, 2005, 11:12 AM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is there any tutorial somewhere how to achieve this with xml

I'm looking for just such a solution.

thnx

This is my junk I'm gona eat it





Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 15 Context Menu - Element Menu Items Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 2 November 9th, 2008 03:53 PM
Refresh GridView Using Refresh Button msbsam ASP.NET 2.0 Professional 0 December 6th, 2006 05:57 AM
how create menubar, menu, menu item in xsl vijayanmsc XSLT 1 June 5th, 2006 06:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.