15,121 Topics
| |
Hi all, I have form validation working well. The following is how i currently validate emails. My question is how can i amend to validate it as an email? [code] if(""==document.forms.fa.user_email.value) { alert("Please enter an email address."); return false; } [/code] I have found this following script but my javascript … | |
here is a javascript code for puting a message in your status bar on your website.Just change testing 123 to your message.:) | |
Hi guys. Recently I had face an interesting issue when trying on Hijacking Event on an Element here is what I've got: So if you want to Hijack an Event first you have to check that event-handler has been set for that particular element or not rite ? ( you … | |
i won't put all the code. this is the css for layer1. Now i know how to make the layer pop-up(visible) with javascript. How do i set the position it pops up to where the mouse was clicked on the page in javascript? example.. [code] #layer1 { position:fixed; visibility: hidden; … | |
[b]Split From - [url]http://www.daniweb.com/forums/thread145927.html[/url] [/b] [QUOTE=anish.anick;698556]Hi Unfortunately we cant use these two suggestion since our requirement does not allow to do so. I was able to solve this issue using JSON. Thanks for the information..[/QUOTE] Hi, We are also facing the same issue. It will be great help if you … | |
The following are the program i did...... and the problem im getting is object expected in onchange function at line 27(where i marked that one in bold for ur ease of identifying the error occuring area) in Task123.jsp. The value in not passed from Task123.jsp to Task113.js. First Page : … | |
hi, I am developing web application. using this application, i want to install the msoffice in every client system if msoffice not available. so how to check the registry whether installed or not using javascript. please give the idea along with sample program. Thanks. | |
Hey Guys, I have a form which on submission inserts value to the database using ajax. But i want that after the values have been inserted the form should reload which means that i want only the form fields to be reset. Please tell me how to do this. | |
Hi All, I need yours help again. I'm looking for "search" option javascript for seach website content. means in own website if u will put keyword to find weather that keyword is there or not if that is there then it should show in how many pages that key word … | |
-------------------------------------------------------------------------------- Hi, I want to have a random image (one of several possilbe images) displayed on my page which will also link to another page and also has a text caption below it specific to each individual image. I have found several javascripts on the net which have worked for … | |
[CODE=html] <!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 language="JavaScript" type="text/javascript" src="js.js"></script> </head> <body> <h2>Calculate the area</h2> Choose shape <form> <input type="radio" name="hinh" value="hcn" onclick="area(this.value)" />Rectangle <input type="radio" name="hinh" value="htron" onclick="area(this.value)"/>Circle </form> <div id="property"></div> </body> </html> [/CODE] [CODE=javascript] // … | |
Is GWT without a doubt the fastest client JavaScript Framework for snappy user experience? | |
Hey all you guys at DaniWeb! I have tried my hand at what I guess is Ajax, with a PHP script to execute it. The page itself renders and the form works, but the login script is not working. I'm not sure what is wrong, although I'm sure I messed … | |
After executing a query in javascript how do I store that information? In php i know we can use [code=php] $row = mysql_fetch_array ($result) [/code] thanks in advanced. | |
Thanks to the MS [ICODE]filter[/ICODE] property that disables Cleartype while applying effects. [B]Instructions:[/B] [LIST=1] [*]Paste the snippet to HEAD section of your document. [*]Paste this HTML to HEAD section of your document: [CODE=CSS] <style type="text/css"> .faded { filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=90); } .okay { filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=100); } </style> [/CODE] [*]Add these class, … | |
hi i have a basic website connected to MS Access Database and i want to display the search results, 100 records returned from a query split over 10 pages. can anyone give me the script to do this, i am using ASP JAVASCRIPT NOT VB. Source Code is listed below. … | |
does somebody know how can i delete a radiobutton again?? | |
I've been reading and trying to figure out a way for half a day yesterday, and any solutions seems to fit to this. [B] Overview:[/B] My solution is building up xml files from different folders on another server. After the xml is built up, I can run a "File Mapping" … | |
| As part of my research at the University of Washington, I've been working on a new web-based JavaScript/HTML/CSS editor that helps you find bugs as you type: [URL="http://faculty.washington.edu/ajko/projects/cleanroom/"]http://faculty.washington.edu/ajko/projects/cleanroom/[/URL] If you try it, and succeed at finishing the task described on the page above, I'll send you [B]a $10 Amazon gift … |
i got a problem... i want to find a way to check if something is NOT at the beginning of a new line... how should i do that? | |
how to clear all input fields after submitting data? [CODE]<form method="post" id="registerForm" action="register.php" > <table align="center" cellpadding="2" cellspacing="0"> <tr> <td style="width:120px"><div align="left"><strong><LABEL for="First_name">First name:</LABEL></strong></div></td> <td><div align="left" class="string"> <input name="First_name" type="text" class="input" id="First_name" value="" size="32" /></div> </td> </tr> <tr> <td style="width:120px"><div align="left"><strong><LABEL for="Last_name">Last name:</LABEL></strong></div></td> <td><div align="left"> <input name="Last_name" class="input" type="text" id="Last_name" … | |
function MakePostRequest(filename) { if (window.XMLHttpRequest) // Object of the current windows { xhr = new XMLHttpRequest(); } else if (window.ActiveXObject) // ActiveX version { xhr = new ActiveXObject("Microsoft.XMLHTTP"); // Internet Explorer } mid=document.updmem.updid.value; fname=document.updmem.updfname.value; lname=document.updmem.updlname.value; email=document.updmem.updemail.value; usr=document.updmem.updusr.value; pass=document.updmem.updpass.value; home=document.updmem.updhome.value; addr1=document.updmem.updaddr1.value; if (document.updmem.updaddr2.value.length==0){ addr2='NULL'; } else{ addr2=document.updmem.updaddr2.value; } if (document.updmem.updmob.value.length==0){ mob='NULL'; … | |
I am implementing a card trick on a website. What I want to do is the user picks 4 cards then based on those cards the user is forced to pick 4 more that are of opposite color. So right now I have the cards displayed on the page but … | |
If you look at the link it is pretty self explanatory,, the image scrolls way too much,, if anyone can help I would be grateful. [url]http://www.yourticketexpert.com/test_map.html[/url] | |
I am trying to learn a little about ajax and prototype.js. Here's what I have so far: [B]boardtest.php[/B] [CODE] <html> <head> <title>AJAX Test with new javascript</title> <script src="scripts/prototype.js" type="text/javascript"></script> <script src="scripts/ajax.js" type="text/javascript"></script> </head> <body> <div id="products">(...locaing inventory...)</div> </body> </html> [/CODE] [B]ajax.php[/B] [CODE] <?php $company = $_GET['company']; $limit = $_GET['limit']; $line … | |
I'm only having this problem in IE 8 and 7-Firefox is fine. I get the following error : Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.3; OfficeLivePatch.0.0) Timestamp: Sat, … | |
Hellow friends! I am new to ASP.net. I am developing my college major project in Asp.net 2008. How should I use Ajax controls in my web project? I added the ASP.NET Ajax Library 0911 Beta to my VWD. The controls are visible, but they dont work properly on runtime. Controls … | |
Hello All, I've been through this article and found it very helpful {http://msdn.microsoft.com/en-us/library/bb250489(VS.85).aspx}. I have a 'static' callback method in my BHO dll which is called whenever 'some' event on the computer happens. I need to call a javascript method on all open browser instances when that happens (or do … | |
I want to make it so when a person clicks a link it pops up asking "are you sure" and if you click no itll stop u from going further and leave u on that page and if u hit yet itll continue to a specified link (which will be … | |
I tried to post on Mozilla's forum but I ran out of space, so I'll give this a try and thanks in advance... :) Also, I've googled til I cannot google anymore, so please be kind. :D I'm trying to call a .js file in my header where javascript would … |
The End.