Wednesday, May 23, 2012

Jquery keypress,onclick event in sharepoint 2010

Here i will show how to how to use the j query events like key press and on click events in share point.The below peace of code i have used to get the event.i just used two functions one is for key press events and other one is for click event.The main thing here is we should add the j query library to share point application
script><script type="text/javascript">
$('#ctl00_inputTextField').keypress(function() {
function getdata()
alert("key press event");

function clickfunction(event) {
alert('click event');

No comments: