Click here to Skip to main content
15,889,216 members
Home / Discussions / JavaScript
   

JavaScript

 
GeneralRe: Looping through elements, to find textbox, and get values Pin
jkirkerx9-Aug-12 16:54
professionaljkirkerx9-Aug-12 16:54 
GeneralRe: Looping through elements, to find textbox, and get values Pin
Andy Brummer10-Aug-12 4:56
sitebuilderAndy Brummer10-Aug-12 4:56 
GeneralRe: Looping through elements, to find textbox, and get values Pin
jkirkerx10-Aug-12 6:31
professionaljkirkerx10-Aug-12 6:31 
QuestionGet value from textbox created with createElement Pin
jkirkerx6-Aug-12 15:48
professionaljkirkerx6-Aug-12 15:48 
AnswerRe: Get value from textbox created with createElement Pin
BobJanova7-Aug-12 0:12
BobJanova7-Aug-12 0:12 
GeneralRe: Get value from textbox created with createElement Pin
jkirkerx7-Aug-12 6:24
professionaljkirkerx7-Aug-12 6:24 
AnswerRe: Get value from textbox created with createElement Pin
twseitex7-Aug-12 8:25
twseitex7-Aug-12 8:25 
GeneralRe: Get value from textbox created with createElement Pin
jkirkerx8-Aug-12 10:54
professionaljkirkerx8-Aug-12 10:54 
I ended up writing this, but I do need to go back and see if IE can just use innerHTML. I'm still messing around between IE, Firefox, and I need to do opera as well.

onkeyup element is created with createElement('input');
var txt_Element_L1_Code_Field = document.createElement("input");
    txt_Element_L1_Code_Field.id = "_txt_Element_L1_Code_Field_" + dynamicCart_Element1.idx;
    txt_Element_L1_Code_Field.type = "text";
    txt_Element_L1_Code_Field.style.paddingLeft = "5px";
    txt_Element_L1_Code_Field.style.width = "90%";
    txt_Element_L1_Code_Field.style.backgroundColor = "rgb(255,255,255)";
    txt_Element_L1_Code_Field.style.border = "solid 1px rgb(255,228,225)";
    txt_Element_L1_Code_Field.maxLength = 8;
    td_Element_L1_Code_Field.appendChild(txt_Element_L1_Code_Field);


txt_Element_L1_Code_Field.onkeyup = function () {        
        var appendCode = txt_Element_L1_Code_Field.value;
        span_Element_L1_CPN_Field.innerText = partNumber.toUpperCase() + "-" + appendCode.toUpperCase();
        span_Element_L1_CPN_Field.innerHTML = partNumber.toUpperCase() + "-" + appendCode.toUpperCase();
    };

Questionadapt datatable jquery to jee application Pin
ahmadiss4-Aug-12 23:34
ahmadiss4-Aug-12 23:34 
AnswerRe: adapt datatable jquery to jee application Pin
Richard MacCutchan5-Aug-12 1:24
mveRichard MacCutchan5-Aug-12 1:24 
Questionshowmodaldialog return value undefined across domain Pin
Amr M. K.4-Aug-12 23:24
Amr M. K.4-Aug-12 23:24 
AnswerRe: showmodaldialog return value undefined across domain Pin
jkirkerx5-Aug-12 11:05
professionaljkirkerx5-Aug-12 11:05 
GeneralRe: showmodaldialog return value undefined across domain Pin
Amr M. K.6-Aug-12 22:05
Amr M. K.6-Aug-12 22:05 
AnswerRe: showmodaldialog return value undefined across domain Pin
BobJanova5-Aug-12 23:43
BobJanova5-Aug-12 23:43 
GeneralRe: showmodaldialog return value undefined across domain Pin
Amr M. K.6-Aug-12 21:26
Amr M. K.6-Aug-12 21:26 
QuestionEvalulating and passing RGB values from keydown Pin
jkirkerx2-Aug-12 8:12
professionaljkirkerx2-Aug-12 8:12 
AnswerRe: Evalulating and passing RGB values from keydown Pin
enhzflep2-Aug-12 9:58
enhzflep2-Aug-12 9:58 
GeneralRe: Evalulating and passing RGB values from keydown Pin
jkirkerx2-Aug-12 11:54
professionaljkirkerx2-Aug-12 11:54 
AnswerRe: Evalulating and passing RGB values from keydown Pin
BobJanova5-Aug-12 23:31
BobJanova5-Aug-12 23:31 
GeneralRe: Evalulating and passing RGB values from keydown Pin
jkirkerx6-Aug-12 7:22
professionaljkirkerx6-Aug-12 7:22 
GeneralRe: Evalulating and passing RGB values from keydown Pin
BobJanova7-Aug-12 0:11
BobJanova7-Aug-12 0:11 
GeneralInstalling Pygame Pin
johtnkucz30-Jul-12 4:36
johtnkucz30-Jul-12 4:36 
GeneralRe: Installing Pygame Pin
johtnkucz30-Jul-12 4:45
johtnkucz30-Jul-12 4:45 
QuestionRe: Installing Pygame Pin
Richard MacCutchan30-Jul-12 6:14
mveRichard MacCutchan30-Jul-12 6:14 
AnswerRe: Installing Pygame Pin
Sandeep Mewara31-Jul-12 8:56
mveSandeep Mewara31-Jul-12 8:56 

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.