Tuesday, April 21, 2009

JavaScript Dynamic content Generation Problem

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.
every phase should end with document.close();

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.

Wednesday, April 1, 2009

readonly not works in JavaScript DOM

DOM- Javascript if you are using...
it will not work.
we have to use readOnly instead of readonly
correct is...