Label and TextBox
Hi,
My question is When I have click my Add Button in the window , a new window will be open in that new window I need to add Two label,two text box and a submit,cancel button.
Please provide me help to solve the problem.
Thanks and Regards,
Venkatesan.R
1 Answer
-
Accepted Answer
You need to add an event listener to your add button, that responds to the click event.
myButton.addEventListener('click', function(){ //navigational stuff here });
How you open your window really depends on how you have structured, or plan to structure your app. You may choose to use navigational groups (iPhone apps this is pretty much a must) or whether you want to do it all manually.