I have the following jQuery code:
var fnVal = $(_placeHolder[0].parentElement.children[0]).attr('onclick');
While debugging I can see the value of fnVal as
function onclick(event) {
javascript:DisplayData($('#divexpand')[0],'true');
}
I wish to replace true in DisplayData function to false.
How can I achieve that ?
onclickattribute of the element?