checkbox please ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



dear all,

        I have javascript to read checkbox object from php script, it
was running very well on IE 6, but is't on Firefox ..
here are the script ..

javascript:
var check;

for (i=0,n=document.getElementById('choose').elements.length;i<n;i++)
          {
              if
(document.getElementById('choose').elements[i].checked == true)
              {
                     
check=document.getElementById('choose').elements[i].value;
                      ada++;
              }
          }

php:
[start loop ..]

<input type='checkbox' value='$row[0]'>

[end loop ..]

how do I fix this problem ..., is there anyone can help me ...

thanks, oedin
(Bandung,Indonesia)




PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-objects/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php-objects/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:php-objects-digest@xxxxxxxxxxxxxxx 
    mailto:php-objects-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    php-objects-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux