Click here to Skip to main content
15,892,161 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionBar Code Printing Pin
Anubhava Dimri7-May-08 20:27
Anubhava Dimri7-May-08 20:27 
AnswerRe: Bar Code Printing Pin
Christian Graus7-May-08 20:53
protectorChristian Graus7-May-08 20:53 
Question[Message Deleted] Pin
ashok@techxygen7-May-08 20:15
ashok@techxygen7-May-08 20:15 
AnswerRe: Send Types of credit cards ? Pin
Christian Graus7-May-08 20:53
protectorChristian Graus7-May-08 20:53 
Questionmail problem Pin
Member 45465077-May-08 19:52
Member 45465077-May-08 19:52 
AnswerRe: mail problem Pin
Christian Graus7-May-08 19:56
protectorChristian Graus7-May-08 19:56 
AnswerRe: mail problem Pin
eyeseetee7-May-08 21:37
eyeseetee7-May-08 21:37 
QuestionsetAttribute property in javascript Pin
SamRST7-May-08 19:31
SamRST7-May-08 19:31 
hi..
i'm creating textboxes and imgebttn dynamically inside a table using javascript. i set some properties for the textboxes. but how can i bind 'onclick' events to the button. The code i used is below.

//for textbox
var txtA=document.createElement("input");
txtA.type = 'text';
txtA.id ='a'+lastrowIndex;
txtA.name ='a'+lastrowIndex;
txtA.className='textbox';
txtA.readonly='readonly';

//for imgbtn
var txtC=document.createElement("img");
txtC.id ='c'+lastrowIndex;
txtC.name ='c'+lastrowIndex;
txtC.className='images_del';
txtC.src="Images/delete_16x16.gif";
// txtC.setAttribute("onClick","alert('Ok')");//this is not working

Thanks in advance.
AnswerRe: setAttribute property in javascript Pin
Spunky Coder7-May-08 19:40
Spunky Coder7-May-08 19:40 
GeneralRe: setAttribute property in javascript Pin
SamRST7-May-08 19:49
SamRST7-May-08 19:49 
AnswerRe: setAttribute property in javascript [modified] Pin
Sun Rays7-May-08 19:42
Sun Rays7-May-08 19:42 
GeneralRe: setAttribute property in javascript Pin
SamRST7-May-08 19:47
SamRST7-May-08 19:47 
AnswerRe: setAttribute property in javascript Pin
Christian Graus7-May-08 19:55
protectorChristian Graus7-May-08 19:55 
GeneralRe: setAttribute property in javascript Pin
SamRST7-May-08 20:06
SamRST7-May-08 20:06 
GeneralRe: setAttribute property in javascript Pin
Christian Graus7-May-08 20:08
protectorChristian Graus7-May-08 20:08 
GeneralRe: setAttribute property in javascript Pin
SamRST7-May-08 20:16
SamRST7-May-08 20:16 
AnswerRe: setAttribute property in javascript Pin
Spunky Coder7-May-08 20:35
Spunky Coder7-May-08 20:35 
GeneralRe: setAttribute property in javascript Pin
SamRST7-May-08 20:42
SamRST7-May-08 20:42 
GeneralRe: setAttribute property in javascript Pin
Spunky Coder7-May-08 20:44
Spunky Coder7-May-08 20:44 
GeneralRe: setAttribute property in javascript Pin
webtips9-May-08 4:49
webtips9-May-08 4:49 
QuestionHow to assing a value to alt from class file? Pin
Sam.M7-May-08 19:16
Sam.M7-May-08 19:16 
AnswerRe: How to assing a value to alt from class file? Pin
Christian Graus7-May-08 19:24
protectorChristian Graus7-May-08 19:24 
GeneralRe: How to assing a value to alt from class file? Pin
Sam.M7-May-08 19:27
Sam.M7-May-08 19:27 
GeneralRe: How to assing a value to alt from class file? Pin
Christian Graus7-May-08 19:46
protectorChristian Graus7-May-08 19:46 
GeneralRe: How to assing a value to alt from class file? Pin
Sam.M7-May-08 19:51
Sam.M7-May-08 19:51 

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.