I have two text field as mandatory and rest of the of the fields are normal. Now i have to detect enter key and submit the form. I have done that but the issue is that when error occurs (for example : fields are null) then i have to stop submitting the form but still form is submitting.
<input autocomplete="off" type="text" id="first_n...
Hello,
I am using the MySQL table below. I would like to add a field called 'subcheck' that will be a yes/no value determined by the HTML form input TYPE = CHECKBOX. What "type" should I give this new field?
Thanks in advance,
John
`submission` (
`submissionid` int(11) unsigned NOT NULL auto_increment,
`loginid` int(11) NOT NUL...
Hello,
I am using a simple HTML checkbox in a form to put a 1 for checked and a 0 for unchecked in a field called "subcheck" in a MySQL table.
Does the checkbox default to 1 for "checked" and 0 for unchecked? If not, how can I give it those values?
Thanks in advance,
John
Form:
<div class="subcheck"><INPUT TYPE=CHECKBOX NAME="subc...
Hi,
I’m a beginner and I’m wandering for this question.
Right now I’m concerned with webkit (a web browser).
Here, my problem is, what I want to know, how the web browser is handling all the HTML data coming from any network.
E.g. how is it getting the data and parsing that?
Very specifically, I want to know about HTML Parser!
If you hav...
I have this piece of code for my footer. the footer needs to have a different style for the last item with the name "SERVICE AGREEMENT/PRIVACY POLICY".. is it possible to use the same class and get the codes , i mean not using different class like what I have done?
<ul class="footer_content">
<li class="footer_content_item"><a href="#"...
So i have a text input
<input type="text" value="3" class="field left">
Here is my css for it
background:url("images/number-bg.png") no-repeat scroll 0 0 transparent;
border:0 none;
color:#FFFFFF;
height:17px;
margin:0 13px 0 0;
text-align:center;
width:17px;
Here is the page
Is there a setting or a trick to this, I was thinking ...
How do I code a website in Japanese and Chinese.
I have the HTML and graphics
I want to change the text to Japanese and Chinese symbols
what tools can be used to auto convert
what tools can be used to correct the auto converted text
what is necessary to serve it online
...
I'm writing a html5 page with a embedded video tag for iPad.
How can I hide or disable the fullscreen button? I just need to show the video without the fullscreen option.
...
Actually I have a CGI form which consists of textfields and I need a combobox in which I can enter my own data dynamically. May be it seems very silly question but I am new to cgi-perl as well as HTML so no idea what to do. Here is my form:
#!C:\perl\bin\perl.exe
use CGI;
use CGI qw/:standard/;
use CGI::Carp qw(warningsToBrowser fatal...
I was wondering is it possible to customize the tooltip that we get after setting the title attribute in an img tag? Now I get a standard rectangle with blue background with text on it and what I'd want to get is my own image (lets say something that looks like a cloud) with text on it. Is it possible with css or js?
...
Hello,
What are open ID's and how do they work ? I noticed to login into this website i required an open id. My question is what are they ? and how can i integrade an open ID login.
I want to make the user login using their open id and create a nickname of some sort and then use that nickname and their open id to login if thats even p...
why is if (element.innerHTML == "") not working in firefox
but works fine in IE , any ideas please ?
...
Hi there,
im trying to build a simple HTML+CSS menu with submenu popups.
If a list item has a child list and gets hovered the child list would show up. This works already.
But I want the parent item to be on top of the child list. I tried it with the z-index and.. failed.
The child always overlaps the parent.
I try to do this to ma...
Hi
I wanted to traverse node by node on a web page by maintaining sequence.
e.g. Below is basic DOM :
<BODY>
<DIV id ='1'> Test 1 </DIV>
<DIV id='2'> Details about <SPAN id='3'> Execution </SPAN> </DIV>
</BODY>
As per above example I want traverse each node by node i.e.
1st Traversal : <BODY>
2nd Traversal : <DIV id =...
Hello All,
We have 2 different websites. One is xy.com another is xyz.com. The domain xyz.com is redirected to a folder on xy.com\one
This works fine. Now we want a particular link to be opened (for example, www.xyz.com\abc.html). I am placing this file in xy.com\one\abc.html. But when I enter this url, it takes me to home page, instea...
Hi,
I have a site running on windows server 2008.
The site is HTML, and has two forms which POST to PHP scripts (both to send an email).
This error comes up however when I click the submit button on the page
"405 - HTTP verb used to access this page is not allowed.
The page you are looking for cannot be displayed because an invali...
Hi,
I have this code in my HTML document and I would life to bind click event on such elements.
<gui:button id="btnTest">
<label>Compose mail</label>
<click>someaction()</click>
</gui:button>
I tried this two methods in my document.ready function, but none of them work
$('gui\:button').click(function() { alert('clicked'); });
$(...
Hi all,
Just wondering if someone can help me code the following.
I want to use a fading effect to rotate a series of images (7 in total), within the CSS and code already defined below:
<style="text/css">
.rotate {float: left;width: 160px;height: 215px;background-color: #FFFFFF;border: 2px solid #0066CC;margin: 0px 10px 10px 0px;text-...
If I have a div that expands to its contents, how can I ensure that its height is always a multiple of a given value, say, 50 pixels? Is there any way to do this with CSS, or would I need to resort to JavaScript?
...
Hi,
I have a Terms and Conditions document that I want to place in my website, that consists of a number of sub-headings with bullet points under these sub-headings.
In HTML, I want to make these bullet points into an ordered lists within each sub-section, which seems to work fine, but how can I carry the numbering so that from the fir...