On Fri, Dec 12, 2008 at 12:36 AM, brian <bally.z...@gmail.com> wrote:
> Lots of false-positives googling this.
>
> <input type="button" id="a_button" value="foo" />
>
> $('#a_button').attr('value', 'bar');
>
> Doesn't work? Or, am i losing my mind?
>

2 rules of programers' email lists (in no particular order):

1) the longer you futz about trying to make something work, the sooner
you'll realise your dumb error just after posting a cry for help.

2) Always, Always, ALWAYS try your own simplified code before posting.

Sorry, I was using variables inside of a terniary block and I just
realised I had them backward, so the text was being changed to ... the
same thing.

No wonder google wasn't giving me anything.

Reply via email to