PDA

View Full Version : Ajax Dynamic Load event click(function(){ value retrieval from divs



eurgbp
05-27-2012, 07:00 PM
Ajax Dynamic Load event click(function(){ value retrieval from divs

Ajax dynamic website loads stuff like this, attaches links to Divs



<html>
<head>
<script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
Wicket.Event.add(window, "load", function(event) { $("#iconContainer3").click(function(){Plimus.web.ui.openNewWindow('http://www.emagenerator.com/');});});
/*-->]]>*/</script>

<script type="text/javascript" ><!--/*--><![CDATA[/*><!--*/
Wicket.Event.add(window, "load", function(event) { $("#iconContainer4").click(function(){Plimus.web.ui.openNewWindow('http://www.partnermark.com');});});
/*-->]]>*/</script>
..
</head>
<body> .
<div class="item-name-icon tooltip-marker " id="itemUrlIcon3a">
<div id="iconContainer6" class="ui-state-default ui-corner-all ui-button-fade"><span class="ui-icon ui-icon-extlink"></span></div> </div>



Question is how do I can get value of links 'http://www.emagenerator.com and 'http://www.partnermark.com' from divs?