Menu

check and uncheck checkbox

Help
biowan
2007-03-18
2013-04-10
  • biowan

    biowan - 2007-03-18

    Hello everybody,

    I wish someone can give me a little bit anwser. The problem isn't PHP, but probably the ajax XML model.

    I have a form with checkbox. There is not problem to get checked checkbox. But after the form submitted, I try to reset all form and uncheck all checkbox. I just need how to edit the XML tags in server side page.

    Ex with classic text input :
    <item><name>inputbox</name><value>aaaa</value></item>

    I did the same with checkbox input, with value 0, false, uncheck, undefined, .... doesn't work.

    How can I do, thanks ?

     
    • Virtimus

      Virtimus - 2007-12-09

      I think looking in "Toggle Tag Demo" part on http://www.4al.pl/phpAjaxTags can help You with this.
      Use special hidden field for storing checkbox state and some JS for reading the field and reseting checkbox client-side.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.