Sorry that cannot be done because its confidential...
what do you want me to post?
User Profile
Collapse
-
I create that dynamically after the response is returned from the ajaxLeave a comment:
-
I do not have a submit button before am creating it dynamically laterLeave a comment:
-
I have figured out that the problem is due to the usage of two different div's can you tell me how to use insertbefore to satisfy my requirement??
the usage of one div the problem is that
->first there is a text box based on the value entered in the textbox and clicked ajax is used to get the response,based on the response
->if the response is true then some more checkboxes is created and then another dummy checkbox and then...Leave a comment:
-
Code:<input id="chkbx" type="checkbox" value="on" name="example"/> Change the color? <br/> <br/> Colors <br/> <br/> <input id="red" type="checkbox" name="colors[]" value="red"/> red <br/> <input id="blue" type="checkbox" name="colors[]"
Leave a comment:
-
Am calling this function as soon as the response is returned form the server.
But not able to figure out why its not working in IE.Leave a comment:
-
Code:var test=document.getElementById('mydiv'); var br=document.createElement('br'); test.appendChild(br); var check=document.createElement('input'); check.type='checkbox'; [URL="http://check.id/"]check.id[/URL]='check'; [URL="http://check.name/"]check.name[/URL]='Testmode'; [B] check.value='on';[/B] var text='Testmode'; test.appendChild(check); test.appendChild(document.createTextNode(text)); var bre=document.createElement('br');
Leave a comment:
-
Code:var div=document.getElementById("div_id"); var example=document.createElement('input'); example.type='submit'; example.name='submit'; example.value='submit'; div.appendChild(example);
Leave a comment:
-
-
-
actually the end quote is not the problem, I removed the element.value=v alue but still its not workingLeave a comment:
-
attachEvent itself worked, thanks
does the
Code:var div=document.getElementById("div_id"); var example=document.createElement('input'); example.type='submit'; example.name='submit'; example.value='submit; div.appendChild(example);
Leave a comment:
-
-
am trying to use both attachEvent and addEventListene r but attchEvent is not working in IE
Code:if(document.getElementById('chk').addEventListener) { document.getElementById('chk').addEventListener("click",function() { abc(colors); },false); } else if(document.getElementById('chk').attachEvent) { alert("here"); document.getElementById('chk').attachEvent('onClick',
Leave a comment:
-
I have dynamically added many checkboxes to the form and each of the checkboxes have different name,id and value. When the form is submitted how can I retrieve only those checkboxes which have been checked? The number of checkboxes in the form will vary everytime.
I will have something like this if i try to print all the posted values in the form
[red] => on [blue] => on
I want the red and blue, for my further processingLeave a comment:
-
And also onclick of the checkbox can we find is the checkbox been checked or uncheckedLeave a comment:
-
Is there a possibility to add a text next to the dynamically created checkboxLeave a comment:
-
now am able to create a checkbox if a button is clicked. I wanted to check whether that particular checkbox if clicked another javascript function has to be evoked, am not able to figure out how to do that...Leave a comment:
-
But the value in the text box will not be the same every time the form is submitted for the userLeave a comment:
No activity results to display
Show More
Leave a comment: