How can I get the code below to work when I have a month of february? Currently it is getting to the day and then stopping before getting to the if to determine whether it is a leap year.    if (month == 2) {     if (day == 29) {         if (year %...
I am using WebDriver with Java for test automation. I have the following HTML code for input field which is hidden:  <input type="hidden" value="" name="body" id=":6b">   How to type something in hidden field in...
I just need to allow a user to enter the following characters in the textinput:  [email protected]#$%^*_|  <form action="http://www.cknuckles.com/cgi/echo.cgi" method="get" name="logOn">   User Name:<br />   <input ty...
I am doing a fixeddeposit project, in which I am having three models:  1)fixeddeposit 2)interestrate 3)interestsetup   When I open a fixeddeposit, I have to type the number of days(365/730/1095/1460 & 1825) from number_field. Then in another text...
I need to configure my ExtJs textfield to accept only numbers which can be positive , negative , integer and decimals upto 2 decimals . I tried with maskeRe and regular expression /^-?[0-9]\d*(\.\d+)?$/ . But its accepting only positive integers.  Us...
I'm trying to use some javascript on a page layout, and I'm encountering a strange issue where the ClientID of a Sharepoint.WebControls.TextField seems to change between OnLoad and the page being displayed.  In the OnLoad event, TextField3.Cl...
Recently, I've been writing some Javascript that interacts with a page. As a part of this, I need to be able to submit an HTML input field.  From what I've seen, most of the time input fields are a part of their own form. For example, StackOv...
My job requres the use of a lot of templates to be used for submitting information to other departments. To avoid having 6 different templates to go off of, I wanted to create a unified simple html document that would allow me to type in simple text...
I would like to run a PHP segment of code with veriables from a Javascript text field while using that veriable in the PHP function. All of that should be executed with a Javascript button click.  [Js Text] --> Js button click --> veriable --&...
i have a UIWebView which acts like an internet browser and loads the HTML of the webpages that it is at.  in the webViewController, the method webViewDidFinishLoad, would have loaded the HTML from the webpage when the webpage finish loading on the UI...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.