Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

update spry:detailregion with select list

Explorer ,
May 05, 2007 May 05, 2007
Have a question if this is possible, i created select list and want to use it to update a spry:detailregion in my php document, i do have a spry:region and a spry:detailregion in there and also a spry:dataset i was reading some things but i cant figure it out. i know i have to do something with the onchange"" function in the select but dont know what.

<select name="select" spry:repeatchildren="events" onchange="event.setCurrentRowNumber(this.selectedIndex);">

My spry dataset is called = events and i have the following rows @eventid, @eventname the spry region is called:

spry:region="events"
spry:detailregion="events"

please anyone has some ideas let me know, i have this currently in the onchange="event.setCurrentRowNumber(this.selectedIndex);"> i know that changes the RowID, i found also something called "Spry.Data.Update" but cant figure it out.

Also please let me know if the select list can or has to be a spry elemen, since the select list gets its option from the mysql database.

Please any help is welcome...
TOPICS
Server side applications
293
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 08, 2007 May 08, 2007
no one has any idea how to do that, please let me know!
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
May 08, 2007 May 08, 2007
LATEST
better post this question in the Spry framework for Ajax forums, as many DW users might now have an idea about Spry at all
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines