HTML - E-mailing Javascript Prompts
I was wondering how to have a Javascript prompt E-Mailed to me.
Thanx 4 the help! Similar Tutorialshi, i need form registraiton code that doesn't open outlook when you click submit. is there a way to have it automatically email to the "action mailto" email without opening oulook? Hi! I'm using FrontPage and I want to create a mailing list that I can do mail merging with but I don't know exactly how to set up the form. I want to make a page that will automatically unsubscribe them so I'm not sure how it should save the information (i.e. csv,database,cgi script..)? Hi, I need to have a form on my website that enables users to put their email address in a box and for it to be sent to my email account to add to a mailing list. Thanks for any help Dyfrig I'm a HTML beginner, though i've done some simple stuff with Perl/CGI. I know i'm missing some very basic knowledge with this question. I'd like to let a user create a mailing list (though this seems like a class of problem that would apply to a lot of situations). The HTML should show the current mailing list, or the recipient that was filled in by a different form. It should have blank text field to enter a new address, and something like a Add-Address button to trigger the addition to the potentially much longer mailing list string. It should hopefully show the results immediately after hitting the button. (And maybe checking for validity.) Is this sort of thing possible with basic HTML, is it more of a Javascript problem, or is it fairly alien to any HTTP/HTML situation. Am i forced to something with an ugly full-page refresh afterwards? (And how ugly would that be?) Thanks! P.S. -- NOT a spammer! Hi, I'm trying to figure out how to put a simple mailing list form on my website. I found some html code for it that looks like this: <div class="divrnd"><h1>Mailing List</h1></div> <form action="http://www.example-address.com/cgi-bin/dada/mail.cgi"> <p align="center"> <input type="text" name="email" value="email address"/> <br/> <input type="submit" value="Join the Mailing List"/> <br/> <input type="hidden" name="flavor" value="subscribe"/> </p> <p> </p> </form> </div> So is this the kind of code I would want to use? And then would I just substitute the website address in the "form action" tag for my own? I have a godaddy domain and e-mail, so I'm guessing I would have to set something up but I don't know if I'm on track here... thanks! Hi guys, good morning! I have recently signed up for an mailing list account with topica and have implemented the code on my site. It's working fine but I am not impressed by the validation of emails and that it's asking every member that signs up to also register with topica! What I want to know is a) is there any other alternatives that let you customize the email verification message they send out which is entitled 'Topica Customer Care - RESPONSE REQUIRED: Topica Email Verification'? I fear that this message is going to lose me people who may think it is junk mail because it does not appear to be coming from my company! and b) if not, is there any decent tutorials/scripts floating about to do it yourself? Cheers, Jamie Hi, so I know hardly anything about HTML and I am hoping someone can help me.... I am in a band have created a Mailing List Form using a website named "Response O Matic"... Its a good enough form, but I really want to change the background colour from transparent to black... can anyone help?? Here is the current HTML code for the form... .. --> Begin Response-O-Matic Form --> .. --> DO NOT EDIT YOUR FORM HERE, PLEASE LOG IN AND EDIT AT RESPONSE-O-MATIC.COM --> <form enctype="multipart/form-data" method="post" action="http://www.response-o-matic.com/mail.php" accept-charset="UTF-8"> <div> <input type="hidden" name="acctid" id="acctid" value="fvb190zozxbejrme" /> <input type="hidden" name="formid" id="formid" value="547157" /> <input type="hidden" name="required_vars" id="required_vars" value="name,email" /> </div> <table cellspacing="5" cellpadding="5" border="0"> <tr> <td valign="top"> <strong>Name:</strong> </td> <td valign="top"> <input type="text" name="name" id="name" size="40" value="" /> </td> </tr> <tr> <td valign="top"> <strong>Email Address:</strong> </td> <td valign="top"> <input type="text" name="email" id="email" size="40" value="" /> </td> </tr> <tr> <td colspan="2" align="center"> <input type="submit" value=" Submit Form " /> </td> </tr> </table> </form> <br><center><font face="Arial, Helvetica" size="1"><b> <a href="http://www.msplinks.com/MDFodHRwOi8vd3d3LnJlc3BvbnNlLW8tbWF0aWMuY29t">create web form</a> </b></font></center> .. --> End Response-O-Matic Form --> I dont even know if what i want is actually called a 'mailing list' All i really want is to be able to have TYPE YOUR EMAIL ADDRESS IN HERE TO BE UPDATED WITH THE LATEST! on the website (myspace page in this case) and then a box underneath for somebody to type their email in, click enter, or join or whatever, and I get sent an email to my gmail account just containing their email address. Ive no idea how easy this is ? Can somebody help ? Thank you in advance ! Daniel Is there a basic html code or script i can enter to just make a mailing list form? as simple as a tab for entering your name and a tab for e mail address and then having it sent to an email?.....the site im using hostmonster.com has PHP but im pretty much clueless on setting up a mailing list with it...and ive been reading a good amount but its confusing... al i want is a form with name and e mail entry which is then sent to my main e mail address..any help i would really appreciate it, its driving me crazy!! Dear I made an html newsletter with dreamweaver and I used the swap image behavior. I can view the result perfectly in explorer. Now I mailed it to my own mailbox (via explorer) and in outlook (and also in hotmail) the swap image effect doesn't appear.(the second photo is not shown) Is there a possibility to see this in my mailbox? I tried to paste the code into my outlook, but that doesn't work with the regular outlook, I only can view the source, not edit it. Thank you very much in advance! Kind regards Sandra Hello, Ive left an area to add a "mailing list join up" to my site and I havnet a clue how to do it... here is the page http://www.fashionfreakers.com/samplesite.html if anyone has any tips or sites I can view to make it happen I would greatly appreciate it. Thanks, C. My apologies if I posted in the wrong forum, but I didn't know where else to post it, as it's not really "multimedia." I don't understand the difference between non-digest and digest mailing lists. I have a website for a record label, so I am using the "Mailman" program to set up a mailing list. It asks if I want my list members to be able to choose whether they want to receive emails immediately or in a batched digest, yes or no? If I choose no, it will default to batched digest. If I say yes, my list members will have to choose between the two, and I'm sure most people have no idea what the difference is. Why can't the default be non-digest? All I want is to send out the occasional email to tell the list members about a new album, and be able to receive replies from list members that everyone on the list (including myself) can read and re-reply if necessary. I don't even see the need to have it batched as a digest? I don't even really know what that does. Apparently, sends everything to you at a certain time at the end of the day? I'm very confused. Hope this is the correct place for this question. What I want to do is have a webpage which asks a question, e.g. "What is your name?" and when the user enters a name, e.g. "Bob" a button pops up with "are you ready?" The user clicks that button and the page then tells the visitor: "Good morning, Bob; nice to see you" (or the button could be there from the beginning; it does not have to pop up) Just want this to learn how to do this and hope I can carry on from there. I am assuming I need a javascript to do this. For the website I'm working on i want to store the text someone enters in an imput box to be stored as a variable so i can have an alert that welcomes them to my site. any suggestions. this one isn't illegal. I am currently working on a currency converter for my D&D website and have run into a bit of a problem. The basic idea is to select the appropriate currency you have from a row of radio buttons, insert the amount you have in a text area and in the next text area it will kick out a list of different currencies and the amount you will have in those currencies. My problem is that my JAVA skills are extremely poor. I figured out how to set up most of it but I cannot figure out how to grab the input and plug it into my formulas. Can anyone help me with this? Here is a link to the page: Currency Converter Any and all hope is greatly appreciated. Thanks. Take care and have a great day.... ciao, john., Here is the basic code without the web page info: Code: <script type = "text/javascript"> function radio_map(prefix) { var coins; // The type of coin selected // Go through all options to find the one that was selected for (cnt = 0; cnt < prefix.cointype.length; cnt++) { // If the coin was selected, checked will be true if (prefix.cointype[cnt].checked) coins = cnt; // Save that coin number } switch (coins) { // Copper case 0: prefix.matharea.value = "\n" + 1 * 1 + " Copper Coins \n" + 1 * .1 + " Silver Coins \n" + 1 * .01 + " Gold Coins \n" + 1 * .005 + " Platinum Coins \n" + 1 * .0001 + " Mithril Coins \n"; break; // Silver case 1: prefix.matharea.value = "\n" + 1 * 10 + " Copper Coins \n" + 1 * 1 + " Silver Coins \n" + 1 * .1 + " Gold Coins \n" + 1 * .05 + " Platinum Coins \n" + 1 * .001 + " Mithril Coins \n"; break; // Gold case 2: prefix.matharea.value = "\n" + 1 * 100 + " Copper Coins \n" + 1 * 10 + " Silver Coins \n" + 1 * 1 + " Gold Coins \n" + 1 * .5 + " Platinum Coins \n" + 1 * .01 + " Mithril Coins \n"; break; // Platinum case 3: prefix.matharea.value = "\n" + 1 * 1000 + " Copper Coins \n" + 1 * 10 + " Silver Coins \n" + 1 * 5 + " Gold Coins \n" + 1 * 1 + " Platinum Coins \n" + 1 * .1 + " Mithril Coins \n"; break; // Mithil case 4: prefix.matharea.value = "\n" + 1 * 10000 + " Copper Coins \n" + 1 * 1000 + " Silver Coins \n" + 1 * 100 + " Gold Coins \n" + 1 * 5 + " Platinum Coins \n" + 1 * 1 + " Mithril Coins \n"; break; } } </script> <form name="frmRadio"> <p> Please choose your coin type.</p> <div onclick ='radio_map(document.frmRadio)'> <input type="radio" name="cointype" value="Evanston"> Copper <input type="radio" name="cointype" value="Arlington Hts."> Silver <input type="radio" name="cointype" value="Oakbrook"> Gold <input type="radio" name="cointype" value="Downers Grove"> Platinum <input type="radio" name="cointype" value="Vernon Hills"> Mithril </div> Please input the number of coins that you have: <textarea name="coinarea" rows=1 cols=35> </textarea> Here are your converted coin numbers: <textarea name="matharea" rows=10 cols=35> </textarea> </form> OK so I'm making an application and I've hit a snag with my Javascript. So I have a form and a list with some value, and under the list I have a button (not a submit) HTML Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> <!-- function popUp(URL,WIDTH,HEIGHT){ day = new Date(); id = day.getTime(); var user = document.getElementById('user').value; eval("page" + id + " = window.open(URL, '"+ id + "', 'toolbar=1,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width="+WIDTH+",height="+HEIGHT+",left = 362,top = 234');"); } </script> <style type="text/css"> form{ margin: 0px; } .menu{ width: 200px; } #mem_list{ width: 200px; } </style> </head> <body> <div id="mem_list"> <center> Online User Info </center> <form method="get" action="/antrix/index.php"> <select name="color" size="5" class="menu" id="user"> <option value="Marlo">Marlo level 70 Warrior</option> <option value="Dsadasd">Dsadasd level 1 Warlock</option> <option value="Dsadasdd">Dsadasdd level 1 Priest</option> <option value="Asdassg">Asdassg level 1 Rogue</option> </select> <center> <input type="button" value="user options" onclick="javascript:popUp('mailmod.php','800','200')"/> </center> </form> </div> </body> </html> OK so when someone clicks the user options button i want the popup to go to the url and have the selected name in the GET value of the url like: mailmod.php?user=marlo if Marlo was selected. anyone got any ideas? *EDIT* yeh just realised this was in the wrong section, sorry ^_^ can somebody change this code so it work i don't understand why its not working its a router planner for google maps. if you type your adres in the text box he must plan a route HTML Code: <form name="thisform" action="" method="get" onsubmit="window.open('http://maps.google.nl/maps?saddr='+document.thisform.adres.value,'_self')('+&daddr=Gemeenteweg+180+7951+CT+Staphorst&hl=nl&sll=52.649594 ,6.217762&sspn=0.010467,0.033023&geocode=FQ8BIwMdQRhcACnxa5xBMHfIRzHmGEdWCkhZ2A3BFXpeIwMdIuBeAClXUCEANXPIRzE6f2uCVLYVUw&oq=gree&mra=ls&t=h&z=13');return false;"> <input name="adres" type="text" /> <input name="submit" type="submit" value="Zie route" /> </form> K so I'm making my brother an inventory website that leads to a digital order sheet. On the order sheet, it has a dropdown of the items he has in the database. It's supposed to show the quantity of what he has in stock, but here's the thing: In this database, there are two tables, called Dishes, and Cables. These two tables are assigned to 1 id, so that I can display them in <td id = 'quantity'/>. The problem is, it displays the Cables only, but I want it to be so that if I select one of the dishes, it selects the quantity for the dishes, and if I select one of the cables. Here's the code I have. Code: <html> <head> <script type="text/javascript" > var data = null; var data2 = null; function GETSTUFF(stuff) { var xmlhttp = new XMLHttpRequest(); xmlhttp.open('GET', stuff, false); xmlhttp.send(); return xmlhttp.responseText; } function buildList() { data = eval('('+ GETSTUFF('inventory_2.php') +')'); console.log(data); for (var i=0;i<data.length;i++) { document.getElementById('materials').innerHTML += '<option onclick="showQuantity(\''+ data[i]['Quantity'] +'\'">'+ data[i]['Supplier'] +'</option>'; } data2 = eval('('+ GETSTUFF('inventory_21.php') +')'); console.log(data2); for (var i2=0;i2<data2.length;i2++) { document.getElementById('materials').innerHTML += '<option onclick="showQuantity(\''+ data2[i2]['Quantity (Boxes)'] +'\'">'+data2[i2]['Type'] +'</option>'; } } function showQuantity() { var supplier = document.getElementById('materials').options[document.getElementById('materials').selectedIndex].value; var type = document.getElementById('materials').options[document.getElementById('materials').selectedIndex].value; var amount = 0; var amount2 = 0; for (var i=0;i<data.length;i++) { if (data[i]['Supplier'] == supplier) { amount = (data[i]['Quantity']); } } document.getElementById('quantity').innerHTML = 'Quantity : '+amount; for (var i2=0;i2<data2.length;i2++) { if (data2[i2]['Type'] == type) { amount2 = (data2[i2]['Quantity (Boxes)']); } } document.getElementById('quantity').innerHTML = 'Quantity (Boxes) : '+amount2; } </script> </head> <body onload="setTimeout('buildList()' ,100)"/> <center> <img src="images.jpg" width=125px height=125px/> <br> <font size="8" color="grey" face="purisa">Home </font> <font size="8" color="red" face="purisa"> Communications</font> <br> <font size="5" color="grey" face="purisa">Order </font> <font size="5" color="red" face="purisa"> Sheet</font> <br> <table border="3" width="100%"> <tr> <th>Material:</th> <th>Quantity in stock:</th> <th>Quantity needed:</th> </tr> <tr> <td> <select id="materials" name= "" onchange = "showQuantity()"> <option disabled>Select</option> </select> </td> <td id="quantity"> </td> <td> <form> <input type = "quantityNeeded" /> </form> </td> </tr> </table> <br> <input type = "button" value="Submit"/> </center> </body> </html> I know the if statement involves selectedIndex, but I can't figure it out. Please help. everything else on my page is in the right place... all except my online users code... if i make it look in place with my 1280x1024 screen resulution, 1024x768 resolutions make it look too far up the page... what can i do to make sure it is in place whatever the resuluion? please help www.anastaciadreams.com right now its too low for me.. because im trying to make it fit with the 1024x768 users but i want it to be next to online guests, not on top of the other stuff or whatever thanks a lot if you help |