Thursday, April 16, 2009

JQuery selector and getElementById

Javascript:
document.getElementById('product_id_01')

JQuery selector:
$('#product_id_01')[0]

No comments:

Post a Comment