15,117 Topics

Member Avatar for
Member Avatar for webdev2111

I was testing out the Ajax auto suggest script and i kept giving the [B]object expected error [/B]and it is the eaxct code from w3cschool.com. Not sure what could be wrong? Here is the code [B]FORM part[/B] [ICODE] <script language="text/javscript" src="clienthint.js"> </script> </HEAD> <BODY> <form> First Name: <input type="text" id="txt1" …

Member Avatar for baseballfury
0
164
Member Avatar for Nickg140143

Hello, I'm trying to validate the form, but each time I try to do so, all fields return invalid. I've tested my regular expressions with various online testers and they seem to work fine, am I perhaps using it in the wrong way? Or maybe a problem with my functions?:-/ …

Member Avatar for Nickg140143
0
201
Member Avatar for samarudge

Hey, So I have a small Flash application that plays a sound when a new message is received in a chat-box. The flash player is on a page embeded with an iframe. [CODE=html]<iframe width="1" height="1" frameborder="0" name="alerter" src="/chatbox/flash/alert/sound.php" id="chat_alert"></iframe>[/CODE] In the parent window, a variable called new_message is used to …

Member Avatar for samarudge
0
107
Member Avatar for pradeepktg

Hi All, I have developed a application in jsp. I need to achieve a count down timer(days,hours,minutes,seconds) between from date to todate, considering below cases. All below are assumed (1) I have 4 product, for each product i have different end date stored in mysql in DB. (2) I need …

Member Avatar for essential
0
2K
Member Avatar for gamestoenjoy

Hi, I wrote star voting system for my site using Ajax. You can see it at: [URL snipped] (it is under the game) Besides using it for voting system, what else can I use Ajax for? Where do you use Ajax in your sites? I would really appreciate your answers …

Member Avatar for rajarajan2017
0
80
Member Avatar for MDanz

when i click on a submit button it should take me to get.php but it doesn't whats wrong? [CODE] <form enctype='multipart/form-data' action='' method='POST' name='form'> <div id=$counter><input type='submit' name='webpage' value='Add Webpage' onClick='return changeAction1(this);' /></div> </form> [/CODE] [CODE]<script type="text/javascript"> function changeAction1(form) { form.action = "get.php" } function changeAction2(form) { form.action = "insert9x.php" …

Member Avatar for rajarajan2017
0
2K
Member Avatar for vmars

view source code of external files in html like *.js and *.css For example: In this page I am Posting to, there are 24 *.js files. They are loaded but you can't see them. I would like to view some of these external javascript files for study. Not necessarily on …

Member Avatar for rajarajan2017
0
117
Member Avatar for naveen1438

I have access database and uploaded this file in my ftp server. Please let me know the javascript code to access this database file from ftp server.

0
50
Member Avatar for muralibobby2015

hello... i am doing login verification. there is tabs in index page thats why i am choosen this. actually after entering the values of email and password how to check that values are in database or not using javascript. and i will show message in alert box. this is my …

Member Avatar for saiprem
0
4K
Member Avatar for Erco21

Hi! I created a button and a textbox using javascript, now i want to make that when my button is pressed it gets the value from my textbox, and puts it in another textbox (got that sorted) only thing i cant find anywhere is how to make a button to …

Member Avatar for Erco21
0
347
Member Avatar for cdominguez13

I've been asked to create a Course class with the following attributes : Course code string course name string roster student[] count int I know how to set first 2 and the last one, but I am having problems with the aaray one. This is what i've done so far: …

Member Avatar for kvass
0
92
Member Avatar for ctaylo21

Hey Guys, I have a theoretical question, I can't really post my code. But I have four results from reads to a database using php. I then read from an xml file using javascript using a loop. I am basically creating a chart of four variables with several different values …

Member Avatar for ctaylo21
0
187
Member Avatar for ghost_from_sa

Hey guys I know there is a similar post on here but it didn't really give me any actual help on this topic: It seems that I have the correct regular expressions in this however it doesn't want to follow my freaking instructions can you guys maybe show me where …

Member Avatar for ghost_from_sa
0
133
Member Avatar for k2k

i need something simple without much overhead to read plain text (tab separated, columns & rows of data) .. and with the data i need to generate some charts (plot, bar, etc) better be interactive since javascript doesn't need webserver like php .... setup is simple .. and can be …

Member Avatar for fxm
0
110
Member Avatar for phingko

Hi guys, I'm using ajax to display the xml file. On my html i put [CODE]<body onload="sendRequest(Display)">[/CODE] so everytime users go to the main.html, all the information in xml will be displayed after transformed by XSL Now the problem is it gets the error [I]Display is not defined[/I] While i …

Member Avatar for phingko
0
353
Member Avatar for Erco21

Hi! I want to insert an elelent (textbox) under another textbox that already exists, and then retriever the value from it for later use i tried with this, but no success: [CODE]function newtxtbox(){ var box = document.createElement("<INPUT TYPE='TEXT' NAME='RADIOTEST' VALUE='First Choice'>") document.body.insertBefore(box, existingbox); } [/CODE] Thanks in advance!

Member Avatar for fxm
0
130
Member Avatar for sarithak

Hi frnds, I m using the below code...it is working fine...nothing prob in it.. just i want change the visibility of that div....here by default div is visible...but i want default div should be hidden.....plz look into the below code.. [CODE]<html> <head> <script language="javascript" type="text/javascript"> function showHideDiv() { var divstyle …

Member Avatar for rajarajan2017
0
222
Member Avatar for Erco21

Hi! I want to write some text to a textbox (using a greasemonkey script to be exact...) but i cant get the right element (textbox) as it somehow doesnt have an id. This is source that is relevant for the textbox (from original page) [CODE] <input name="WebGridBuilder$ctl04$ctl01" type="text" value="something" maxlength="32767" …

Member Avatar for Erco21
0
130
Member Avatar for vishal18

HI, will u please tell me how we can check java installation on system? I have used following code.... if(navigator.javaEnabled()) { document.write("JAVA available"); } else { document.write("No JAVA !!!"); } Above code displays the "JAVA available" eventhough I have uninstalled the java from my system. Also I have checked the …

0
52
Member Avatar for DevC++4.9.9.2

Hello, I am working on a flash website, currently there is a java script function that opens a popup window in my flash movie. This function works fine in Firefox, however does not work in Internet explorer, any ideas? Frame Code [code] openWinCentre = function (url, winName, w, h, toolbar, …

0
49
Member Avatar for gmchun83

[B]Hai,[/B] What i want to do is change background color from yellow to transparent or back to original background color: What i have following javascript code is change color from yellow to blue. [CODE]$('#' + ' something here').animate( { backgroundColor: 'yellow' }, 500).animate( { backgroundColor: "blue" }, 1000);[/CODE] [B]Please advice.[/B] …

Member Avatar for BlueIceStudios
0
134
Member Avatar for AliHurworth

Hi, I am running the scripts below which should return a string containing a URL. So far, it cannot find the form contents in Firefox, but displays the non-dynamic data such as [I]?Location=[/I]. It won't work at all in IE. Can any one help? This is the form: [CODE] <!DOCTYPE …

Member Avatar for BlueIceStudios
0
194
Member Avatar for wewehalim

Hi, I am making a form validator which has some field like "credit card number" and "credit card security code" I need to make sure that those fields only contain digit, no alphabet and any others characters like "." , "," , etc. I don't have any idea on how …

Member Avatar for d5e5
0
170
Member Avatar for utopic

I am not really familiar with the whole [B]SEO[/B] process but I recently hired someone at <snip> to do the whole process for me. The person there made me know that it is not smart to include a lot of my content in my [B]Javascript[/B] files as they are not …

Member Avatar for joelchrist
0
107
Member Avatar for vmars

Greetings; New to (ClientSide) javascript and HTA: 1) Does ajax ever come into play with (ClientSide) javascript ? 2) I would like to read a txt file into a TextArea. Example? 3) I would like to save or saveas from TextArea. Example? Thanks for your help! ...vmars

Member Avatar for chethandas
0
146
Member Avatar for aman_preetji

sir , i have created a jsp page . inbetween which i write javascript code . code is acessing xml file(i attached also the xml file and i placed that file in apache .i m entering the path of xml in text bob of jsp page) using ajax and parsing …

0
50
Member Avatar for Reliable

Hey everyone. I wanted to use an HTTP reference within an image tag inside an XML file as opposed to having the image in a folder . Is that feasible?

Member Avatar for fxm
0
81
Member Avatar for kaylors

I don't get what's wrong. The text box is there and the button is there, but nothing's happening. [CODE]<html> <head> <title>Test JavaScript</title> <script> var col=3; fucntion randy() { col++; col%=10; col+=4; col*=45; col/=10; } function funny(num) { if(num=>10){num=num%10;} if(num>=5){num=num-5;} if(num==0) {return "Marry had a little lamb.";} else if(num==1) {return "Ba …

Member Avatar for rajarajan2017
0
92
Member Avatar for uberznoob

I am stumped on a javascript that is driving me crazy. I would really appreciate any help. The purpose of the website is to get the birthdate and wedding date from the user. Display the age, number of years married and the days of the week that they were born …

Member Avatar for rajarajan2017
0
115
Member Avatar for bsewell

Hi all, I'm trying my first bit of jQuery code but am familiar with Java programming. I'm trying to create a function that loads a div with an image in it, which will fade in and then after 4 seconds move onto the next image. I want it to create …

Member Avatar for rajarajan2017
0
233

The End.