File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

model dailogbox in javascript

 
kavita vala
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello all
I have a model dialog box which i have use for user login
I have a code given below .

javascript function



Htmal code given below for dailog content



And css is


In this case how can i retrieve value of emailid and password
from dailog.

Thanks in advance
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By getting the input elements IDs and looking at their values?
 
kavita vala
Ranch Hand
Posts: 42
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But i am try to get value with



But i cant get anything.

I was also call a function from submit button
and try to get value in it but i cant.
 
Sean Clark
Rancher
Posts: 377
Android Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
kavita vala wrote:But i am try to get value with



But i cant get anything.

I was also call a function from submit button
and try to get value in it but i cant.


Hey,

Perhaps you should try looking for id_email and id_pass as these are the id's that you have on the inputs...

Sean
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not its id, for one thing.

Oops, too late; forgot to hit send!
 
Eswar Nec
Ranch Hand
Posts: 105
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are so many way to get the value.


Then the corresponding javascript is :


What will you see the output after use the above script
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic