dmistriotis on 09/13/10
Last Edited at 09/13/10 08:31pm
if($('id_of_element') != undefined) { console.log('Object exists.');}
URL: http://www.richardcastera.com/2010/02/24/prototype-js-determine-if-an-object-exists-in-the-page-loaded/
Report this snippet Tweet
Comment:
You need to login to post a comment.