[jQuery] replace inside an attribute

[jQuery] replace inside an attribute


hey, how can i replace a text inside an "onclick"? but only a part of it..
for example:
onclick="tb_show('vendornotes',VendorInfoID('3000'))";
will be like
onclick="tb_show('vendornotes',VendorInfoID('12345'))";
thanks
--
View this message in context: http://www.nabble.com/replace-inside-an-attribute-tf4452366s15494.html#a12701467
Sent from the JQuery mailing list archive at Nabble.com.