if you generate dynamic content through JavaScript by
document.write('<html><head><h2>'+ varHeading +'</h2></head><body></body></html>');
this page will works fine but if you generate more dynamic content from this page onward it will not display anything without any error.
Solution:
every phase should end with document.close();
Tuesday, April 21, 2009
MYSql 5 GROUP BY query not support Field Name "div"
in MySql 5 query...
SELECT std,div,rollno,marks FROM result_data GROUP BY std,div
gives Error...
Error is due to field name div
Solution: Change Field Name div -> divi or other.
It works fine with MySql 4.
SELECT std,div,rollno,marks FROM result_data GROUP BY std,div
gives Error...
Error is due to field name div
Solution: Change Field Name div -> divi or other.
It works fine with MySql 4.
Wednesday, April 1, 2009
readonly not works in JavaScript DOM
DOM- Javascript if you are using...
document.getElementById("idTest").readonly=true;
it will not work.
we have to use readOnly instead of readonly
correct is...
document.getElementById("idTest").readOnly=true;
document.getElementById("idTest").readonly=true;
it will not work.
we have to use readOnly instead of readonly
correct is...
document.getElementById("idTest").readOnly=true;
Subscribe to:
Posts (Atom)