new Ajax.Request( Handler.ashx ,
{
method: get ,
onSuccess: function(transport)
{
var response = transport.responseText || "no response text";
//alert("Success!
" + response);
var obj = response.evalJSON(true);
alert(obj[0].Nam);
alert(obj[0].IM);
for(i = 0; i < 4; i++)
{
$( MyDiv ).insert( new Element( checkbox , { id : "Img" + obj[i].Nam, value : obj[i].IM }) );
return ($( MyDiv ).innerHTML);
}
},
onFailure: function() { alert( Something went wrong... ) }
});
How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.