-
May 27th, 2012, 01:52 PM
#1
Ajax Dynamic Load event click(function(){ value retrieval from divs
Ajax dynamic website loads stuff like this, attaches links to Divs
Code:
<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?
-
May 27th, 2012, 01:58 PM
#2
Re: Ajax Dynamic Load event click(function(){ value retrieval from divs
You'll have to parse the actual function text out of the onclick event for those <div> ids.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|