User:Shivanshbindal9/common.js

$(function {	//function hi{  alert("Hey i am calling");}  $('#mw-mywiki-example').html(' Change ');  $('#mw-mywiki-example1').html(' Change1 ');  $('#mw-mywiki-example').click(function{ //alert("The paragraph was clicked."); $('#mw-mywiki-example2').html('this will change'); }); $('#mw-mywiki-example1').click(function{ //alert("The paragraph was clicked."); $('#mw-mywiki-example2').html('this is different'); }); // var myElement = document.getElementById('mw-mywiki-example');	// myElement.innerHTML = "Change "; });