What code would I use to create a simple form field mask just like the one on ebay.com in the search field at the top of the page where it says "Start new search"
I just want a script that enters that text into the form field, but makes it disappear when you click on the field.
I have some code for a 200 px wide box, but I'm curious if I want to round the corners, I'll need to insert an image for all 4 corners...how would I do that?
#sidebar-a {
float: left;
width: 200px;
\width: 210px;
w\idth: 200px;
margin: 0;
margin-right: 5px;
padding: 5px...
Is there a way to make this so it only pops up every 50th user?
<script language="JavaScript">
<!--
function popunder() {
pu = window.open("http://www.mysite.com"_blank");
pu.blur();
window.focus();
}
//-->
</script>
i'm trying to create a nifty 404 page where a customer can send me an email by clicking a link (mailto) to let me know that the link is broken, however, rather than having them cut and paste the link into the email is there a way to setup some javascript so when the link is clicked it...
Is there a way to create a dynamic list menu in a form with Javascript...
<form name="form1" method="post" action="">
From<select name="select">
</select>
</form>
Using code from an XML file like this stored in a different file?
<FROM="John"></FROM>
<FROM="Mary"></FROM>
<FROM="Thomas"></FROM>
I have a very simple form on my page (below)
<form name="form1" method="post" action="">
From
<input name="textfield" type="text" size="3" maxlength="3">
To
<input name="textfield" type="text" size="3" maxlength="3">
<br>
<br>
<input type="submit" name="Submit" value="Submit">...
Will onClick work in an <a> to call a function once the link is clicked?
for example:
<a href="mailto:test@test.com" onclick="emailtrack()">test@test.com</a>
I have a hide show div that I need to bold the link when it's clicked to show and unbold when the link hides, any ideas what I need to change
<script>
function showhide(id){
if (document.getElementById){
obj = document.getElementById(id);
if (obj.style.display == "none"){
obj.style.display...
I'm trying to use the following mailto: to populate the body of an email in HTML, with breaks in the copy body of the email. However, I don't want to use <br> tags since some people may have text only email. I was wondering if there is an ASCII equivalent or something, that would put breaks in...
I have a script where I need to have multiple functional hide/show divs that work in the copy
Here's the code I'm using:
<style type="text/css">
div.code
{
background-color: #DDDDDD;
margin: 0px 50px 0px 50px;
}
div.quote
{
margin: 0px 50px 0px 50px;
background-color: #FDFFCA;
}...
i've built a simple form, where it ask for first name, last name, and phone number. (you can do a max of 9)
When you click the confirm link, in theory, it should take you over to a confirm section (with onClick) where it will confirm all the info you just entered...maybe with some inner html...
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.