View Full Version : getting elimit by div

Mar 6th, 2007, 01:58 AM
Say if I want to load a div like this for example:

<div id=javascript title=alert('wazzup');>

then somewhere else load a javascript which gets the title from the div with the ID of "javascript" kind of like

get elimiet from the title
div ID=javascript

so then if I ever wanted to change the javascript... I simply change the title to something else like title=alert('hello');