[jQuery] Another simple question...

[jQuery] Another simple question...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=296592300-05012007>this.id = 'NewValue';</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Verdana color=#0000ff size=2><SPAN
class=296592300-05012007>alert( this.id );</SPAN></FONT></DIV><FONT face=Verdana
color=#0000ff size=2></FONT><FONT face=Verdana color=#0000ff size=2></FONT><FONT
face=Verdana color=#0000ff size=2></FONT><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"><FONT
face="Courier New, Courier, monospace" size=2>I've got another simple
question. Is this not how you set an element's attribute?<SPAN
class=296592300-05012007><FONT face=Verdana
color=#0000ff> </FONT></SPAN>[from inside an
.each()]</FONT></BLOCKQUOTE></BODY></HTML>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/





















    • Topic Participants

    • mike