Click here to Skip to main content
15,909,953 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: update tables row with vbscript in asp Pin
Guffa13-Nov-07 12:46
Guffa13-Nov-07 12:46 
GeneralRe: update tables row with vbscript in asp Pin
idsanjeevjha13-Nov-07 16:56
idsanjeevjha13-Nov-07 16:56 
AnswerRe: update tables row with vbscript in asp Pin
Guffa14-Nov-07 3:05
Guffa14-Nov-07 3:05 
QuestionASP Email Script Not Working Pin
MelDrop9-Nov-07 5:06
MelDrop9-Nov-07 5:06 
Questionhow to break a table into two tables with javascript? Pin
andylaw8-Nov-07 22:47
andylaw8-Nov-07 22:47 
AnswerRe: how to break a table into two tables with javascript? Pin
Guffa9-Nov-07 12:38
Guffa9-Nov-07 12:38 
GeneralRe: how to break a table into two tables with javascript? Pin
andylaw9-Nov-07 15:41
andylaw9-Nov-07 15:41 
GeneralRe: how to break a table into two tables with javascript? Pin
Michael Sync10-Nov-07 23:10
Michael Sync10-Nov-07 23:10 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>Untitled Page</title>

<script type="text/javascript">

function createTable(rows,cols){
var table = document.createElement("TABLE");

var newAttr = document.createAttribute("border");
newAttr.nodeValue = "1px"
table.setAttributeNode(newAttr);

for(var i=0;i<rows;i++){
var row = document.createElement("TR");
for(var j=0;j<cols;j++){
var cell = document.createElement("TD");
cell.innerHTML = "Row : " + i + "Col : " + j;
row.appendChild(cell);
}
table.appendChild(row);
}

showThisInBody(table);
}

function showThisInBody(obj){
document.body.appendChild(obj);
}
</script>
</head>
<body>

<input type="button" onclick="createTable(10,2);" value="createTable(10,2)">
</form>

</body>
</html>


Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)

Please vote the message if it's useful.. Thanks.

Questionproblem with registration of new website on IIS Pin
0x49D18-Nov-07 20:01
0x49D18-Nov-07 20:01 
AnswerRe: problem with registration of new website on IIS Pin
Michael Sync8-Nov-07 20:30
Michael Sync8-Nov-07 20:30 
GeneralRe: problem with registration of new website on IIS Pin
0x49D18-Nov-07 20:41
0x49D18-Nov-07 20:41 
AnswerRe: problem with registration of new website on IIS Pin
Vasudevan Deepak Kumar8-Nov-07 21:03
Vasudevan Deepak Kumar8-Nov-07 21:03 
GeneralRe: problem with registration of new website on IIS Pin
0x49D18-Nov-07 21:10
0x49D18-Nov-07 21:10 
QuestionContent Aware Image Resizing?? Pin
e36k2248-Nov-07 14:46
e36k2248-Nov-07 14:46 
AnswerRe: Content Aware Image Resizing?? Pin
Mark Churchill8-Nov-07 17:05
Mark Churchill8-Nov-07 17:05 
GeneralRe: Content Aware Image Resizing?? Pin
e36k2248-Nov-07 20:01
e36k2248-Nov-07 20:01 
GeneralRe: Content Aware Image Resizing?? Pin
Mark Churchill8-Nov-07 20:21
Mark Churchill8-Nov-07 20:21 
QuestionSearch Engines Pin
Brendan Vogt8-Nov-07 9:18
Brendan Vogt8-Nov-07 9:18 
AnswerRe: Search Engines Pin
Michael Sync8-Nov-07 18:31
Michael Sync8-Nov-07 18:31 
AnswerRe: Search Engines Pin
AliAmjad9-Nov-07 0:16
AliAmjad9-Nov-07 0:16 
GeneralRe: Search Engines Pin
Manuel F. Hernandez9-Nov-07 6:51
Manuel F. Hernandez9-Nov-07 6:51 
GeneralRe: Search Engines Pin
AliAmjad10-Nov-07 5:56
AliAmjad10-Nov-07 5:56 
Questioncommunication between Webform and Winform on a Server Pin
edepede8-Nov-07 5:05
edepede8-Nov-07 5:05 
AnswerRe: communication between Webform and Winform on a Server Pin
Christian Graus8-Nov-07 9:34
protectorChristian Graus8-Nov-07 9:34 
QuestionHow to change the grid row color through java script..? Pin
A AntonySP7-Nov-07 4:11
A AntonySP7-Nov-07 4:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.