[jQuery] Re: Checkboxes enabled/disable button

2009-02-18 Thread Robert Rawlins
ion, loose the "@", it's not needed On Feb 18, 10:13 am, "Robert Rawlins" wrote: > Morningz, > > Thank you for this! I made a couple of small changes, like so: > > if ($("inp...@name='my_checkbox']:checked").length == 0) { > > and

[jQuery] Re: Checkboxes enabled/disable button

2009-02-18 Thread Robert Rawlins
Morningz, Thank you for this! I made a couple of small changes, like so: if ($("inp...@name='my_checkbox']:checked").length == 0) { and it worked a real treat!! Thank you for your advice, I appreciate it! Robert -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@go

[jQuery] Re: Change link dependant on select box.

2008-09-04 Thread Robert Rawlins
Morningz, That's exactly what it was, I took out the pound sign and it work perfectly! Thanks mate, I appreciate the help. Robert -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of MorningZ Sent: 04 September 2008 13:18 To: jQuery (English) Subje

[jQuery] Re: Change link dependant on select box.

2008-09-04 Thread Robert Rawlins
Morning Morningz, > Why wouldn't you just have > > > Joe > Bloggs > Dave > Something > > > > > > > $(document).ready(function() { > $("#customer").change(SetLink); > SetLink(); > }); > function SetLink() { >var obj = document.getElementById("#custom

[jQuery] Re: Change link dependant on select box.

2008-09-04 Thread Robert Rawlins
Morningz, As another little note, I was testing your example code this morning but I get an 'Object Required' error thrown by it, any ideas what might be causing this? I definitely have the HTML elements with the correct ID's present on the page, any other thoughts? Don't worry about the key:val

[jQuery] Change link dependant on select box.

2008-09-03 Thread Robert Rawlins
Hello Guys, I'm looking for some help on getting started with a script that'll change the href attribute of a link dependant on the option selected in a select box. To add a little 'spice' the challenge the value of the href must be determined from a set of key value pairs. Let me try and offer

[jQuery] Re: enable/disable to text inputs with checkbox

2008-09-01 Thread Robert Rawlins
Hi Karl, > This is very generic, so you'll have to be more specific with > your selectors, but it should give you an idea of how to do this: > > $(document).ready(function() { >  $('input:checkbox').click(function() { >    if ($(this).is(':checked')) { >      $('input:text').val('').attr('disabl

[jQuery] enable/disable to text inputs with checkbox

2008-09-01 Thread Robert Rawlins
Good afternoon guys, I'm pretty much a jQuery novice and I'm looking for your advice on how to achieve this task. I have two input fields which I want to be disabled by default, with a checkbox which is checked. Then, if a user unchecks the checkbox it will enable the two fields for them to ent

[jQuery] Re: Ensure Textarea has been read.

2008-06-13 Thread Robert Rawlins
Hi Ariel, Thanks for getting back to me. That looks like a neat and tidy piece of code however it isn't working. I don't get any JavaScript errors throw which is a good thing, but is doesn't re-enable the checkbox when I scroll to the bottom. Terms & Conditions: