Flash Games

 FAQ   Search   Members   Groups   Register  User Control Panel      Login 

Your time now:
Sat Nov 21, 2009 7:16 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 1 post ]  Bookmark and Share
Author Message
 Post subject: javascript popup problem
PostPosted: Wed Jun 03, 2009 11:51 am 
Offline

Joined: Wed Jun 03, 2009 11:40 am
Posts: 3
I am trying to print a asp.net gridview by using javascript,i've put the entire gridview inside a div element and send it to javascript file,it is working perfectly,the only problem I have is to remove the STYLE that I have in ASP page and instead add a new style in javascript file,I have this piece of code:

could anybody help me out with this problem?

var oldHTML = document.getElementById(print_area).innerHTML;
var newHTML = "<div style='background-color:Blue'>" + oldHTML + "</div>";
document.getElementById(print_area).innerHTML = newHTML;
pp.document.writeln(newHTML);


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group - Flash Games - TNX Invitation Code - TNX Review


Webmaster - Excruciating - Johnathan - Kotik - Ash - Tomi - rangana - Phate - dflynn - Medley