i'm just going to toss this question up in a rough form now, while i'm thinking of it, and come back to flesh out the details. it's terribly vexing. maybe someone here will know wtf is going on.
i have this big data-entry sort of page, a table-kind of layout using divs. each row has subrows which can be toggled open/closed. the toggling...
I researched this a while ago and can't remember how to do it. I want to be able to prevent Firefox from running it's spell-checking functionality on certain input fields from within the page. I know it's possible but can't remember how to set it up.
...
Hi there,
I'm working on a simple javascript login for a site, and have come up with this:
<form id="loginwindow">
<strong>Login to view!</strong>
<p><strong>User ID:</strong>
<input type="text" name="text2">
</p>
<p><strong>Password:</strong>
<input type="password" name="text1"><br>
<input type="button" value="Check In" name="Sub...
How can I programmatically select a specific range of text in an HTML input field? (I don't want to select the entire field, just a subset)
Also, how can I determine the currently selected range in a field?
...
Hi everyone,
im looking for some Javascript code to calculate the sum off multiple HTML-input values. The amount off inputs are dynamic so i'm looking for something like "for each" input.
the format off the numbers is 1 000,00 (space as thousand separator and , as decimal separator).
My inputs are in and array so the ID's and NAME's is...
I have been trying to add a standard html :<imput type="text" value=""> into a JQuery dialog box, but it does not show up. I have tried with a selector and it was working.
I don't understand why it doesn't with text imputs.
...
Ok so I am new here and was wondering if someone a little more advance then me can help me out.
I have text box on my website with code for user(s) to copy the code that's in the text box and paste the code in Orkut scrapbook which will generate a imagine.
I am using onclick so when user clicks on code it highlight it and then they c...
this is my entire PHP code:
<?php if(empty($_POST['selid']))
{echo "no value selected"; }
else
{
$con = mysql_connect("localhost","root","");
if(mysql_select_db("cdcol", $con))
{
$sql= "SELECT * FROM products where Id = '$_POST[selid]'";
...
hi i came across a browse file dialog control tag in htnl .and the tag was
<input id="myfile" name="myfile" type="file" accept="application/pdf"/>
but the accept attribute doesnt seems to have any effect .iam using internetexplorer 8 browser
does it have any thing to do with the accept atribute
...
i have an asp.net form and an asp:textbox. i have a problem when the user presses and HOLDS a key down. the user selects the text box and then presses and holds '9' until the text box fills with 9s.
Is there any way to detect this situation?
Is there a way to stop key repeats when the key is held down?
...
I am looking to create a button which when clicked opens a dialog window where they select an image to upload and then once they select it and press ok within the dialog window the upload begins (upload bar optional :) )
Preferable it would be a jquery plugin that modifys the functionality of the standard html file input... as I have al...
How can I detect when a user has chosen which file to upload using a html file input. That way I can submit the form automatically.
...
I have a PHP script that will generate <input>s dynamically, so I was wondering if I needed to filter any characters in the name attribute.
I know that the name has to start with a letter, but I don't know any other rules. I figure square brackets must be allowed, since PHP uses these to create arrays from form data. How about parenthes...
HTML5 appears to support a new range of input fields for things such as:
Numbers
Email addresses
Colors
URLs
Numeric range (via a slider)
Dates
Search boxes
Has anyone implemented HtmlHelper extension methods for ASP.NET MVC that generates these yet? It's possible to do this using an overload that accepts htmlAttributes, such as:
H...
How can i get the input element value in jquery
...
Hi.
I've got an object in my form that contains various string properties.
When I want to print it in my JSP form I could do it with
<c:out value="${UFForm.company.address}" />
which works perfectly.
Now I want to create an HTML input field. But when I write
<html:text property="company.address" />
I get an error saying
Caused b...