:: Forum >>

two textboxes

hello,

how does one create a form with two textboxes (username & password) and submit button with activewidgets?

i have got the textboxes and button on the screen ok, but i'm confused to how to send it to my login.asp page?

NF
Friday, April 7, 2006
<script>

var obj = new AW.UI.Input;
obj.setId("myInput"); // necessary for CSS rules

// obj.setControlSize(100, 30); // width, height
// obj.setControlPosition(10, 100); // left, top - adds 'position:absolute'

obj.setControlText("Some text");
document.write(obj);

var obj = new AW.UI.Input;
obj.setId("myInput"); // necessary for CSS rules

// obj.setControlSize(100, 30); // width, height
// obj.setControlPosition(10, 100); // left, top - adds 'position:absolute'

obj.setControlText("Some text");
document.write(obj);
</script>
NF
Saturday, April 8, 2006
i guess i can only have one textbox on the form from the response i got?

NF
Sunday, April 9, 2006
Use different ID foe each Input:
obj.setId("mySecondInput"); // necessary for CSS rules
Sunday, April 9, 2006
thanks. it works but why does it work by giving it another CSS class name?

NF
Monday, April 10, 2006

This topic is archived.


Back to support forum

Forum search