I can not understand clearly. Is it "description" in "search" and "search" in "body"? Or just "search" and "description" both in "body"?
Good day,Good job,Good life
I can not understand clearly. Is it "description" in "search" and "search" in "body"? Or just "search" and "description" both in "body"?
Good day,Good job,Good life
From the page source code , you can find this: http://www.nasdaqomxnordic.com/System/webcore_js/[^]
Good day,Good job,Good life
I think u should check the Checklist.clientID. The following code works both in IE and Chrome.
<script type="text/javascript" language="javascript">
function chkboxlistchecking(chkMed, chkBeh, chkReports) {
// Go through all items of a check list control
var cbkSelect = document.getElementById(chkMed);
var cbkAdd = document.getElementById(chkBeh);
var cbkEdit = document.getElementById(chkReports);
if (cbkSelect.checked == true || cbkAdd.checked == true) {
cbkEdit.checked = true;
cbkEdit.disabled = true;
} else {
cbkEdit.checked = false;
cbkEdit.disabled = true;
}
}
</script>
<input id="ch_s" type="checkbox">Select</input>
<input id="ch_a" type="checkbox">Add</input>
<input id="ch_e" type="checkbox">Edit</input>
<br /><button onclick="javascript:chkboxlistchecking('ch_s','ch_a','ch_e');">check</button>
anyway , u can move cbkEdit.disabled=true out of the if statement.
function chkboxlistchecking(chkMed, chkBeh, chkReports) {
// Go through all items of a check list control
var cbkSelect = document.getElementById(chkMed);
var cbkAdd = document.getElementById(chkBeh);
var cbkEdit = document.getElementById(chkReports);
cbkEdit.checked = (cbkSelect.checked == true || cbkAdd.checked == true)
cbkEdit.disabled = true;
}
Good day,Good job,Good life
It seems u are using PL/SQL not T-SQL.
Good day,Good job,Good life
I wish the following may solve u issue.
function close() {
var flgDataUnsaved = false;
// do your unsave data check here
// if there are unsaved data set flgDataUnsaved = true;
if ( flgDataUnsaved ){
event.returnValue = "Do you really want to close this window";
}else{
event.returnValue = true;
}
}
window.onbeforeunload = close;
and u can put a "save" button on your popup page. The user can save the data themselves.
Good day,Good job,Good life