/* add this code in any js file which load at time of page load */ /* validation.js */ function openwindow(id) { if(id.

value > 0){ window.open("/express/AssignSearch.htm?id="+id.value,"_blank","height=300,width= 500,status=yes,toolbar=no,menubar=no") } } /* and call on image link for popup window */

/* DwrAjax.js */ function getProblemList(id,pid) { var vend=document.getElementById("problemType").value; if(vend != 0) { var val=id.value; MyAjax.getProblemList(val, function(data){ dwr.util.setValue(pid,data ); }); } } function getAssignToList(id,pid) { var vend=document.getElementById("problemType").value; if(vend != 0) { var val=id.value; MyAjax.getAssignToList(val, function(data){ dwr.util.removeAllOptions(pid); dwr.util.addOptions(pid,data,"assignToId","assignToName" ); }); } else { document.getElementById("problemType").focus(); } } function getAssignList(id,pid) { var vend=document.getElementById("problemType").value; if(vend != 0) {

MyAjax. }). function(data){ alert(data).getElementById("problemType"). } } .focus().value.getAssignList(val. document.var val=id.getElementById("grid"). } else { document.innerHTML=data.

Sign up to vote on this title
UsefulNot useful