15,700 Topics

Member Avatar for
Member Avatar for fellathedog

I have a validation function and the this is the last thing it does. [code = var mytext=document.getElementById("sizip") if(check5(mytext,"Zip Code must be 5 digits.")==false) {mytext.focus();return false;} function check5(mytext,alerttxt){ var re5digit=/^\d{5}$/ //regular expression defining a 5 digit number if (mytext.value.search(re5digit)==-1) //if match failed alert(alerttxt);return false; ] It will validate ok, if …

Member Avatar for fellathedog
0
84
Member Avatar for leron

I have developed web server with redirecting if resource isn't exist. It made by such html, that returning instead resource(img or style file): [code] <html> <form name='myform' action='http://[some address]> [inputs with another answer] </form> <script language='JavaScript'> document.myform.submit(); </script> </html> [/code] its works perfect if you go to this resource by …

Member Avatar for chandru7
-1
64
Member Avatar for kjelle392

Hello all. I try to learn some Ajax, but find it some difficult. The task I'm trying to do, is to use Ajax to register a new user for my application. The problem is that the request don't seem to pass the POST-variables to the php-script on the server side, …

Member Avatar for Thirusha
0
163
Member Avatar for antonwildcam

[B]Hello EVERYONE! [/B] Could anyone know the script code for a [B]WEBPAGE ON TOP OF A WEBPAGE[/B]? The site was not working anymore, so I can't tell you the link. This is what I saw, When I visited the site (Mainpage) There's just a Welcome Image that shows [I]CLICK HERE …

Member Avatar for Thirusha
0
72
Member Avatar for ijazkhattak

i have a database, a page which get the data from database, and ajax code which modify the data(here adding as a friend).. LOGIC i succesfully get the data using php and in while loop(fetch_assoc) i get the email of the person who want to add other person as a …

Member Avatar for Thirusha
0
85
Member Avatar for ch_nilanjan

Hi, I have populated data in html table. Now I have to retrieve the value from this table, row-wise. How can i do this. Please help...

Member Avatar for Thirusha
0
89
Member Avatar for mlohokare

Hi, I am new in Javascript. I want to add few lines for content, which is already present, using Javascript. HTML code : [CODE]<html> <head> <script type="text/javascript"> function test() { t = document.getElementById("p123"); w = t.width; h = t.height; </script> </head> <body onload="test();"> <p><img alt="Graphic" id="p123" src="image1.gif" /></p> <p>TEST</p> </body> …

Member Avatar for Thirusha
0
166
Member Avatar for beattsme

Mod please delete this duplicated thread :S Hi, not sure if this is the right area. I want to control where my visitors are coming from. So not visiting from google or their homepage etc etc. i want them to enter the site from one specific site. Thanks. Mod please …

0
51
Member Avatar for grympel

What I'm trying to do is to automaticly redirect the contents of a div tag after it has been changed by a ajax call. Javascript: [CODE]<script type="text/javascript"> function ajaxSwap(div,func_id,args,dlay){ var xmlhttp; if (window.XMLHttpRequest){ // code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else{ // code for IE6, IE5 …

0
48
Member Avatar for avirag

Hi all, Can anyone tell me HOw to make a batch file for creating a shortcut on desktop in HTML....? Well i made a application in HTML, and i put this application in CD, now i want that when user run that CD, So Cd will automatically create a shortcut …

Member Avatar for avirag
0
77
Member Avatar for abhax

Hey all, i have been using php for past one month only and now im using javascripts with php too... but my javascript functions have grown out of proportion ... I want to make a SEPARATE file for JAVASCRIPT just like we do it for EXTERNAL CSS... how can i …

Member Avatar for cwarn23
0
177
Member Avatar for yaragalla_mural

Hi i am new to ajax and i am little bit confused with the word asynchronous. why is the word asynchronous used for ajax? what is it not in sync with? somebody pls expalin me why the word asynchronous? and how is it justified in ajax? Thanking you in advance.

Member Avatar for yaragalla_mural
0
336
Member Avatar for SKANK!!!!!

like i need to copy something to my clipboard by pressing a button. i can echo the value into a hidden form input field i guess. how can i get the value copied to clipboard?

Member Avatar for SKANK!!!!!
0
139
Member Avatar for Pleasant Day

I have a web site that uses some code to put adds into the page, but my adds are not centered, whats the code to make it be in the center of the page, at the moment its to the far right for some reason, I want to try and …

0
58
Member Avatar for dmmajorstudent

I am trying to create this form page where NO inner HTML is used. This is what i have so far and I am still trying to get a phone number code with at least ONE dash as well as a valid email address input. How do i generate this …

0
71
Member Avatar for neogy

Okay I have an issue....I have two things I want to happen on the same page....I have a slide in menu (Jquery contact form) where people can write me an email and a FancyBox gallery.. But these two javascripts wont play nice...if both are enable as they are now, The …

Member Avatar for Airshow
0
153
Member Avatar for jimmiller96

Hi All, This should be an easy one. I am using a single OnChange event with several <Select> statements, and need to identify the specific <Select> control that fired off the onchange event. I'm certain there must be a way to grab the ID or Name from the specific control …

Member Avatar for jimmiller96
0
91
Member Avatar for SKANK!!!!!

[CODE]<script type="text/javascript"> function placeIt() { if (!document.all) { document.getElementById("top_bar").style.top = window.pageYOffset +"px"; // For Mozilla etc. } else { document.getElementById("top_bar").style.top = document.documentElement.scrollTop +"px"; // For the IE... } window.setTimeout("placeIt()", 1); } </script> <body onload="placeIt()">[/CODE] i got that code. it works perfectly in firefox, but it doesnt stay at the stop …

0
65
Member Avatar for omsoni

Hi, I have a javascript error in my home page. Which is annoying. I am having hard time debugging it. Please help. [url]www.dealpigeon.com[/url] FF is not showing it. IE7, 8 shows the error. I just launched the website and I do not want users noticing an error. Thanks in advance.

Member Avatar for almostbob
0
84
Member Avatar for LizzyJo

Hi there everyone. I have a problem with the JavaScript code for my aggregates workings for my course. I have worked out with some help how to input a number, click a button and get the number to appear in a listbox. I also had to get the Reset button …

Member Avatar for LizzyJo
0
120
Member Avatar for twomers

Hi all. First off this is my first interaction with jquery (and I hope this is the correct forum to put questions about this in, if not might a mod take the liberity of moving it to the correct forum?), so apologies if I'm overlooking an entire room made of …

Member Avatar for twomers
1
205
Member Avatar for void64

I have a form with multiple SELECT drop-down menus. Each menu can submit the form using the onChange function. How can I determine which of the drop-down menus was used to submit the form? Example: [CODE] <form method="post" enctype="multipart/form data" action="submit.php"> <select name="one" onChange="submit()"> <option value="1">1st choice</option> <option value="2">2nd choice</option> …

Member Avatar for twomers
0
1K
Member Avatar for calvintennant

I am trying to use vertical columns (as commonly seen in print media, magazines/newspapers) in my blog layout. I think that as the aspect ratio of our monitors change ([URL="http://en.wikipedia.org/wiki/Xerox_Alto"]portrait[/URL] in the 70s/80s, (near) square in the 90's, and now landscape) it is important to embrace horizontally scrolling websites. This …

0
83
Member Avatar for skumar.snl

I have to Set Iframe Height Dynamically using Jquery or Javascript . I am Using following jquery code: [code]var theFrame = $("#IframeId", parent.document.body); theFrame.height($(document.body).height);[/code] My Problem is that data in iframe has some Images,video thumbnail which are coming from diffrent server Amazon,flicker (means from Cross domain). It takes time to …

0
71
Member Avatar for mohan7690

hi friends, my english is poor, please solve my problem i'm developing a site, in that irame is there, when a page is loaded to that iframe, along with links in the page, when i right click on the link and open in a new tab/window, it should open along …

0
60
Member Avatar for LizzyJo

Hi. I am new to this site so I hope you will all be able to help me with my problem. I am just starting to learn JavaScript so any help/feedback would be greatly appreciated. I have to make a form that if you put a temperature in a textbox …

Member Avatar for LizzyJo
0
87
Member Avatar for AirGear

i'm still a newbie in javascript. i know this question may be silly for some experts in javascript. and i'm sorry for that :( i want to create a dynamic form using javascript, where i can click a button to add some new fields. i tried to search it in …

Member Avatar for network18
0
166
Member Avatar for Nuttdude

Buttons visibility is set to hidden to start. Suggestions? [CODE]<script Language="JavaScript"> Function CKPMT1() Var PMT1; PMT1 = document.Form1.BalPmtPayee.value; IF PMT1 = "" then ; document.Form1.B1.style.visiblity='visible'; End if End Function <body onLoad="CKPMT1()">[/CODE]

Member Avatar for Airshow
0
214
Member Avatar for firehazrd0

Thanks for viewing. To be perfectly honest, this is (in part) for school. the project is to write a script to prompt for a temperature in Fahrenheit and output the Celsius equivilant. I'm ahead in my school work, and so decided to take my time and have some fun with …

Member Avatar for Airshow
0
108
Member Avatar for sam023

[url]http://www.d-scribe.de/webtools/jquery-pagination/demo/demo_options.htm[/url] these type of jquery pagination are riable for large data...??? where query doesnt need 'limit' in it..!!! thanks

Member Avatar for network18
0
102
Member Avatar for Tom Tolleson

I have a button that activates a script to create a new radio button. I want the radio button to be of the class draggable. However, my code isn't quite working. Any thoughts on this are appreciated. [code] <head> <script Language="JavaScript"> function modify(){ var newElem= document.createElement("radio") newElem.id = "newradio" newElem.appendChild(newElem) …

Member Avatar for uthumiram
0
446
Member Avatar for tangara

Hi, I'm trying to apply light box effect. When the user click on the thumbnail size photo, it will pop up a bigger want and then the background will all blackout...... It's just not working and the the imgage won't show up at all. Hope someone can point out my …

Member Avatar for network18
0
92
Member Avatar for Neona

I will start out by saying that I have no experience with PHP at all.. sorry. However, since I do some asp.net etc I thought I would throw myself into it.. I have come across a problem though. I've found a mail form using jQuery. What it's supposed to do …

Member Avatar for network18
0
142
Member Avatar for skulkar

Hello All, I work on PL/SQL web applications with oracle Application Server. I wish to start using some of Ajax features in my applications. Do I need to perform any application/db server side configuration changes to accommodate Ajax implementations? Your suggestions will be of great help to me. Thanks in …

Member Avatar for Thirusha
0
110
Member Avatar for Gatayo

Design an oracle for the following JavaScript function. 2. Generate a test case set for this function and provide a coverage analysis report for your test case set. The JavaScript function: [CODE=javascript]function purchaseSong(username, password, songId) { // first authenticate the user if (checkCredentials(username, password) == false) { alert('The username or …

Member Avatar for Gatayo
-1
111
Member Avatar for brechtjah

Hey there everyone I'm a bit troubled with something I'm trying to construct, I'm trying to create an object that can reproduce itself, creating more objects that can be accessed also, to reproduce themselves. Each object would then be given a random name like: object1, object2 so they can be …

Member Avatar for Airshow
0
127
Member Avatar for gk0110

Hi friends, I need to do this: Scroll down the scroll bar grey out all my page and show a loading gif load, thru ajax, content from the db server turn off grey and loading gif update current page content. how can i do this without using jQuery? Many thanks …

Member Avatar for IllBeTheJudge
0
111
Member Avatar for manofspider

clienthint.js [CODE] var xmlhttp; var parameters=""; function showHint(url) { var myform = document.forms[0]; if (myform != undefined) { parameters = getRequestBody(myform); } if (url.length == 0) { document.getElementById("txtHint").innerHTML = ""; return; } xmlhttp = GetXmlHttpObject(); if (xmlhttp == null) { alert("Your browser does not support XMLHTTP!"); return; } xmlhttp.onreadystatechange = …

Member Avatar for manofspider
0
284
Member Avatar for psathish2

I am trying to disable the F5 key in Mozilla. I have the next code in javascript that it is working in Internet Explorer but it is not working in Mozilla. how can I disable the F5 key in Mozilla? Code: [code] function checkKeyCode(evt) { var evt = (evt) ? …

Member Avatar for Troy III
0
494
Member Avatar for antr25

Hi - I have a css drop down menu that hides behind a javascript photo gallery (in the main area of the page) in IE7. Not quite sure what to make of it. Any and all help is appreciated!! thanks

Member Avatar for laura_ci
0
194
Member Avatar for OnIIcE

Hi im messing around with some jQuery and want to disable a link whilst it performs a ajax post (its adding/fetching somthing from a database) and i want to disable the link so it cant be multiclickd. [CODE]<a href=\"#\" id=\"seepages\">See Page</a>[/CODE] ive tried using [CODE]$("#seepages").unbind('click');[/CODE] but that dosnt work! =( …

Member Avatar for Airshow
0
269
Member Avatar for samlabs821

Hi !! i faced problem with javascript. When I call function change() it applies only second element that is link2. I wanted when i click the link, the link name must appear to textfield.can anyone help?? here is code: [code=html] <html> <body> <form> <a id="static" href="staticContentAdmin.ioml">link1</a></br> <a id="static" href="staticContentAdmin.ioml">link2</a></br> <input …

Member Avatar for samlabs821
0
171
Member Avatar for marian99us

Hello folks, I am a young webdeveloper from Germany. There is this technology used in this great website that doesn't stop amusing me, I was just hoping someone could cypher the technology behind it and perhaps reveal it is done with the help of some freely available Library the link …

Member Avatar for Airshow
0
252
Member Avatar for dmmajorstudent

I'm trying to use javascript with NO Innerhtml. i am very new to javascript and i need a little help completing this form. the code i have so far to create a form page is just below this message. How do i create a code when focused the text fields …

Member Avatar for Airshow
0
149
Member Avatar for vishalonne

Dear All Experts I wrote a simple code in javascript and it is working fine with IE but when I open the page in FireFox or in Google Crome it is not working as I expect. Actually I am enabling and disabling the combo box on the on change event …

Member Avatar for Graphix
0
117
Member Avatar for ruwanaru

I am New in web designing What i want is i have one List/Menu its called Make it's containing some vehicles Brands when i selected a brand name i want another list/menu display the models that relevant to Brand this is a screen shot that what i need [IMG]http://i256.photobucket.com/albums/hh192/magnificent_roo/model.gif[/IMG] some …

Member Avatar for ruwanaru
0
728
Member Avatar for lakodajin

plz chk my coding n tell me whr I am wrong. [code=html]<html> <head> <title> My simple calculator </title> </head> <script language="JavaScript"> <!-- function addit() { var num1=document.calform.one.value; var num2=document.calform.two.value; document.calform.result.value=parseFloat(num1)+parseFloat(num2); } <!-- function minus() { var num1=document.calform.one.value; var num2=document.calform.two.value; document.calform.result.value=parseFloat(num1)-parseFloat(num2); } --> </script> <body>Add subtract Calculator <form name="calform"> <p> First …

Member Avatar for Alxandr
0
118
Member Avatar for hobo38

I need help with a java script that increases image size and decreases on mouseover and mouseout for multiple images per page. In an html page. This script that I have tried to modify is for one image. Can anyone help me with this, please. Jerry Here is the html …

Member Avatar for hoping2
0
3K
Member Avatar for shishtawitch

i have a form in another form............ <form1> <form2> </for> </form> the form2 is submited automatically, and has only one field of fileupload, and is auto processing file upload with jquery ajax...!! it works fine for me but when i pass the response filename of form2 to form1 <input> field …

Member Avatar for shishtawitch
0
106
Member Avatar for krishnaboppana

how to add online chat for my new website, what i to do, ineed assistance from u ist stage last stage, thank! regards, krishna.

Member Avatar for Alxandr
0
100

The End.