15,121 Topics

Member Avatar for
Member Avatar for whiteyoh

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 …

Member Avatar for rajendra.parmar
0
120
Member Avatar for The web master

here is a javascript code for puting a message in your status bar on your website.Just change testing 123 to your message.:)

-2
165
Member Avatar for InfernalAngel

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 …

0
105
Member Avatar for MDanz

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; …

Member Avatar for YanivC
0
66
Member Avatar for rd_sekaran

[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 …

Member Avatar for YanivC
0
67
Member Avatar for ganeshhsk

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 : …

Member Avatar for ganeshhsk
0
210
Member Avatar for manikandan_dani

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.

Member Avatar for ShawnCplus
0
74
Member Avatar for anuj_sharma

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.

Member Avatar for Thirusha
0
79
Member Avatar for raj2476

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 …

Member Avatar for you web
0
148
Member Avatar for Jamesge

-------------------------------------------------------------------------------- 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 …

0
51
Member Avatar for thebluestar

[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] // …

Member Avatar for Troy III
0
144
Member Avatar for remoteportal
0
53
Member Avatar for dylank

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 …

Member Avatar for NettSite
0
156
Member Avatar for Mike516

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.

Member Avatar for Airshow
0
87
Member Avatar for umut78

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, …

0
176
Member Avatar for iceghost

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. …

Member Avatar for mrdani
0
230
Member Avatar for justcasper
0
47
Member Avatar for PierlucSS

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" …

Member Avatar for Airshow
0
107
Member Avatar for andyjko

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 …

Member Avatar for pritaeas
1
180
Member Avatar for richardtreier

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?

Member Avatar for pritaeas
0
51
Member Avatar for ryan311

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" …

Member Avatar for Troy III
0
155
Member Avatar for vimals

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'; …

0
67
Member Avatar for bananasplitkids

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 …

Member Avatar for Airshow
0
88
Member Avatar for rookie73

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]

Member Avatar for arvind1981
0
49
Member Avatar for Wraithmanilian

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 …

Member Avatar for Troy III
0
232
Member Avatar for greenglow

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, …

Member Avatar for Graphix
-1
230
Member Avatar for dhavalcoholic

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 …

Member Avatar for boonfoo
0
174
Member Avatar for n_vcplus

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 …

0
109
Member Avatar for daddy89

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 …

Member Avatar for vicne
0
172
Member Avatar for robroy

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 …

Member Avatar for Troy III
0
1K

The End.