Open Source & Stuff  
  |     Main Site     |      Forum     |     Contact     |
Ajax Linked Select boxes :  forum.Salix.gr forum.Salix.gr
Comments, questions, usage, bugs. 
Goto Thread: PreviousNext
Goto: Forum ListMessage ListNew TopicSearchLog In
messagedefault 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..

messageRe: 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

messageRe: default selected adjustment
Posted by: bunker (IP Logged)
Date: May 08, 2007 10:55AM

cheers!!



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