Is it possible to activate a link calling the title as the element reference point:
<a href="#" title="dynamic title">Click me</a>
Im building a simple widget that will need to activate a link on another site. The link has no id or name tags.
I should also mention by activate I mean trigger the link.
The script loads an iframe and after loading I want it to trigger a set link on that page. In actual fact the code will need to trigger a series of links on the page
<script type="text/javascript">
<!--
// autoclick
$(document).ready(function(){
document.frames["iframe"].$(".[title='title']").trigger('click');
alert('bob');
});
//-->
</script>
<iframe src="http://page.com" width="100%" height="50%" name="iframe" id="iframe"></iframe>
You can use the attribute-equals selector
[name="value"]: