Open Source & Stuff
|
Main Site
|
Forum
|
Contact
|
Ajax Linked Select boxes
: forum.Salix.gr
forum.Salix.gr
Comments, questions, usage, bugs.
Jump to forum ...
The Lounge
MVC pattern and php frameworks
Social stuff
Resources
What is Salix.gr
mySQL
PHP scripting
Java script
Image File Browser class
Bugs & Comments
Usage & Documentation
Ajax form elements
Ajax Linked Select boxes
Position:
 
forum.Salix.gr
>
Ajax form elements
>
Ajax Linked Select boxes
Goto Thread:
Previous
•
Next
Goto:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
default selected adjustment
Posted by:
bunker
(IP Logged)
Date: May 07, 2007 12:27PM
hello,
thanks for the script..
Every time the page loads, the first select box selects the second option as default, i want to make it select "Please Select" option, but could not figure out how to do it.. any clues?
thanks and regards..
Options:
Reply To This Message
•
Quote This Message
Re: default selected adjustment
Posted by:
panos
(IP Logged)
Date: May 07, 2007 02:35PM
Hi,
two methods have an optional parameter named selected_value:
add_select_box(db_table_name, key_field_name, description_field_name, order_field_name, selected_value, tag_name, tag_id, [extra_tag_attributes] , [extra_where])
link_select_boxes(parent_box_name, child_box_name, link_field_name, selected_value)
pass to that parameter blank value ''
Cheers!
Panos
Options:
Reply To This Message
•
Quote This Message
Re: default selected adjustment
Posted by:
bunker
(IP Logged)
Date: May 08, 2007 10:55AM
cheers!!
Options:
Reply To This Message
•
Quote This Message
Goto:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
All Rights Reserved 2006 Salix.gr | Design by
Ades Design
| Hosting by
e-emporio
|
forum.Salix.gr
powered by
Phorum