click on image java script
♥ 0 |
I am using true client protocol and i have a web app on which Search button exist which type is image and i have to click on that image button to extract some results. html code of Search button is: < img style="border: medium none;" onclick="ajaxLoadingStarted(this, document.getElementById('select:ajaxLoadingImg')); searchVehicles();" src="/webPortal/common/images/green-search-btn.png" id="select:searchBtn"> and my javascript code is: var searchobj = document.getElementById(‘select:searchBtn’).onclick(); but it did not work and showed me following error: t=00019690ms: Error -203252: ** 46: Evaluate JavaScript code /* window.alert($(‘#javax.face…ement; } } */ ** failed – exception occured: NS_ERROR_NOT_AVAILABLE: Component is not available [MsgId: MERR-203252] how can we script it?? pls help me
Marked as spam
|