Each row of the table would contain 5 text boxes (which make up a single line item). I am using these text boxes to gather various data elements from the user. The user can submit more than 1 line item at a time, so I want multiple lines (50 was an exageration). Say 6 rows. Instead of creating...
say I have a table with 50 rows, each with an input box. In ASP I'd do something like:
<table>
<%
for i = 1 to 50
%>
<tr>
<td>
<input type="text" name="myTextBox_<%=i%>">
</td>
</tr>
<%
next
%>
</table>
I wouldn't have to build the entire table up-front. I was...
I'm trying to add rows to a table on page load instead of building the whole table in the designer. However, the following code produces no results. No error, just nothing on the screen. I'm defining the table in the html as follows:
<asp:Table id="Table1" BorderWidth="1" GridLines="Both"...
I've included some sample code below. If I scroll down a few items in a multi select box, then reset the ScrollTop to zero, the list resets to the first element correctly. However, if you then click the scroll down arrow, it will jump to the next value before the scrolltop reset. Eg. Scroll down...
Hi,
I'm looking for a navigation menu that allows you to scroll the sub-menu values. Eg. You roll-over the main menu button, 'Products', and instead of displaying all 20 links, it displays 5 and allows the user to scroll up and down through the list (with maybe an up arrow at the top and a down...
Thanks for the help guys. It looks like it was the clock change that was affecting it. I'm still not sure why it would return '2' for that one week though, wouldn't it be the rest of the year if that was the issue? If I add the following code it works perfectly:
d1.setHours('5')...
Hi,
I was looking on the web for a function that would calculate the number of week days between 2 dates. I found the following function which I thought was working ok. However, it produces strange results for dates in the last week of October, start of November! I set up a test page to run...
yeah thats what I feared. But if I have an 'onkeypress' AND an 'onblur' event on the same text box, then pressing TAB executes the onblur event (skipping the keypress event where I can check for the keycode). I require the onblur event in case the user selects a different form element with the...
I am trying to execute a function when a text box focus is lost via the TAB key. I added a condition to the 'onBlur' event of the text box to check the keycode, but it always returns 0. Same for 'onChange'. Is there a way for these events to recognise that the TAB key was pressed?
I have a form with various text boxes. When a user presses the ENTER key whilst in one of the text boxes, the form is submitted. Can I disable this and just move the tabindex to the next text box? I don't want the form to submit until the user clicks on the 'Submit' button.
Thanks.
I have a text box that I immediately validate using an OnBlur function. However, if the user clicks on a radio button after they have entered their text (which triggers the onBlur event), the radio button doesn't get selected. You have to then click the radio button a second time to select it...
I have a flash movie embedded in my page. I've added an iframe over a portion of this movie (it acts as a button to launch a larger view of the flash movie). This works fine, but if you click on the flash movie (not the iframe area), it brings the movie to the foreground and covers up the...
Hi, I have a cookie set in my page. When the user updates a name field on the form, the cookie is updated. I know this is working correctly as I can open the cookie file on disk and see the value has been updated. However, the page always displays the original cookie value. I can even delete the...
Is there an IE pre-req for using Imagemaps? I have the following code on my page:
<img src="images/find_lines_1.gif" alt="Find" border="0" usemap="#find_lines_1_Map">
<map name="find_lines_1_Map">
<area shape="rect" alt="" coords="5,103,22,120"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.