Friday, December 25, 2009

how to set innerHTML property to select in IE

If you must use innerHTML, a workaround is to use a Div object to wrap the SELECT element and then set the innerHTML property for the Div object

http://support.microsoft.com/kb/276228

Tuesday, December 08, 2009

moving data from one mysql table to another

if u need to  copy  primary key(here id)
 INSERT INTO new_table( id,nt1,nt2) SELECT  oid,ot1,ot2 FROM old_table

else
 INSERT INTO new_table(nt1,nt2) SELECT  ot1,ot2 FROM old_table