Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    Regular Coder dniwebdesign's Avatar
    Join Date
    Dec 2003
    Carrot River, Saskatchewan
    Thanked 10 Times in 10 Posts

    Question Checkbox problems...

    Alright... everything works fine. Almost.

      $('#findInvoice').click(function(event) {
    	alert($('#'+netID+'').attr('checked')+" "+$('#'+netID).is(':checked'));
    	if($('#'+netID).is(':checked')==false) {
    		 var netID = $('#netID').val();
    	 else {}
    Okay... so I things set up so I enter a value into a text input then it finds the specific table row and check box... checks the box and highlights the row. Perfect, sort of.

    I want to know if the check box is checked but every method I try always returns false, or undefined. At current time if I enter the value into the box, it leaves the check box checked but un-highlights the row. I do not want it to do this. If I want it unselected, I want to click on it. Any idea why I cannot find if the check box is selected.

    Edit: As usual, I find the problem after I post on here. :\
    Last edited by dniwebdesign; 12-21-2009 at 05:52 AM.
    Dawson Irvine
    CEO - DNI Web Design


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts