Nevermind, I found conflicting code elsewhere in my doc that was
causing this.
On Jun 18, 10:09 pm, functionasform
<[EMAIL PROTECTED]> wrote:
> I'm using the following code to plug empty input fields' "alt" attributes in
> as their values as soon as the page i
I'm using the following code to plug empty input fields' "alt" attributes in
as their values as soon as the page is ready:
$(":text[alt][value=''],textarea[alt][value='']").each(function(){
$(this).attr("value",$(this).attr("alt"));
});
The problem is, it's not working on the input
2 matches
Mail list logo