I want to get element attribute value which belongs to other html page.
For example if I am in file a.html and want to get data like element attribu
By default, selectors perform their searches within the DOM starting at the document root. If you want to pass alternate context, you can pass to the optional second parameter to the $() function. For eg,
$('#name', window.parent.frames[0].document).attr();