15,700 Topics

Member Avatar for
Member Avatar for chrisglasier

Rather than introduce myself I prefer to first introduce my nameset ideas. I am making digital machines using HTML and Javascript. They have cells that can move. Each cell contains a name representing a part of the real world of interest to the machine's owner. I set one or two …

0
31
Member Avatar for xylude

I am trying to get a variable to increment in a function called by setInterval. It does one then stops... All I want is for the slider function to loop through the array over and over again, but it seems to like stopping after the first one. Here is the …

Member Avatar for rajarajan2017
0
166
Member Avatar for ajwei810192

Hi, I am a newbie in Ajax, and I am trying to figure out how to pass the value of an item from my HTML form through Javascript/Ajax. Here is the code: <form action="" id="name"> <p><input type="checkbox" value="Weather" name="news[]" onclick="showRSS(document.name.news[].checked)"/> Weather</p> This is what I have in my showRSS function: …

Member Avatar for rajarajan2017
0
8K
Member Avatar for urbancalli

[code] curl -H "X-Token: 989afnkj982gbu2h" -X POST "http://www.domain.com/projects/3434/members/8939587/moves?move\[move\]=after&move\[target\]=3348761" -d "move[move]=after&move[target]=3348761" [/code] above is a curl command to move a member after the target member. I want to convert that curl command to javascript/ajax .. so far, here's what i have done, but it is not working. [code] var token = …

0
66
Member Avatar for fiaolle

Hi I want to remove a control in a placeholder, in a function in JavaScript. Is that possible? If so please help. Fia

Member Avatar for fxm
0
70
Member Avatar for SKANK!!!!!

[CODE]<form name="form"><textarea name="message"></textarea> <img src="" onmousedown="(do the prompt box)"> </form>[/CODE] i need help how to figure out how to prompt the user with a javascript prompt() to enter a url(link) that includes an http:// after the user enters the url in the prompt box and clicks OK, i want the …

Member Avatar for SKANK!!!!!
0
255
Member Avatar for dsumner25

I have an input button that calls a javascript function: [CODE] <input type="button" name="Add_OpStds_Step" id="Add_OpStds_Step" value="Add Step" onclick="Add_OpStds_Step();" /> [/CODE] The function that is called will add some labels, input boxes, and the things needed for a table. By itself it works just fine, as soon as I wrap it …

Member Avatar for dsumner25
0
1K
Member Avatar for KPooja

Hi All, In our application we have combo boxes implementated using tables with fixed column width(fixed combo width). and newly i have added a functionality for these combo box. functionality is expand combo box on rightclick (using oncontextmenu) to fit to lengthy text. oncontextmenu=function_call(object); inside function: obj.style.width="auto" but the problem …

Member Avatar for KPooja
0
95
Member Avatar for niths

hi all, i want to store a value in session by using javascript in php.Can any one say me about it, i mean how to store and how to get that in the other php page. Thanks in advance..

Member Avatar for niths
0
96
Member Avatar for jellybeannn

Hi I've got the JavaScript that calculates the amount of two TextBox's(rate_## and area_##) and displayes it in a label(amount_##), what I'm trying to do is to add up all of the amounts and display it in another label(estimatedCost), I've tried this with the first function but the estimatedCost label …

Member Avatar for fxm
0
112
Member Avatar for urbancalli

I am using jquery's ajax method to POST data to a server. I am using the servers API, and it is stated that in whatever request, I have to include this "authentication token" to access the data I need, either as an http header field or a header parameter. I …

Member Avatar for fxm
0
87
Member Avatar for mohanvamsi_18

I am trying to create a row in a table. In that row i have some input and select elements. I want to add an onchange event to an select element. I am trying to do so.. but not working (see the bolded code below) Please help me. // this …

Member Avatar for fxm
0
168
Member Avatar for shine_jose

Hello, I am new to java script i wish to know the code for calling a button click event in asp.net using java script.

Member Avatar for vishal18
0
99
Member Avatar for urbancalli

[CODE] $(document).ready(function(index){ $(connectSort).each(function(index, obj){ $("." + this).sortable({ connectWith: ".connectedSortable_" + this, cancel: '.state-disabled', revert: true, start: function(event, ui) {alert(ui.item.attr("title")) }, stop: function(event, ui) { } }).disableSelection(); }); }); [/code] the first function(start: function ..) displays an attribute (title) of the dragged item once the sorting starts. supposedly, the second function …

Member Avatar for urbancalli
0
113
Member Avatar for deineMutti

Hi, I am currently developing a Chrome extension to upload photos to TwitPic, but am receiving an error in the response: <?xml version="1.0" encoding="UTF-8"?> <rsp stat="fail"> <err code="2" msg="Image type not supported. GIF, JPG, & PNG only" /> </rsp> My request looks like this: [CODE]--345823569845694578678 Content-disposition: form-data; filename="image.png"; name="media" Content-Type: …

0
149
Member Avatar for johndoe444

I tried to use some online resources. All of them covers this much: 1. How to create xmlHttpRequest in cross-browser fashion. 2. How to define onreadystatechange function 3. how to call open and send 4. how to receive and use responsetext and responsexml 5. how to do the server side …

Member Avatar for johndoe444
0
119
Member Avatar for songpham

Hi , i have a problem creating an expandable vertical menu . I am writing it with Jquery . The vertical menu has 3 tabs - one of which (the top tab) is always expanded when the menu is not being hovered over. When i hover on one of the …

0
81
Member Avatar for asf

I am learning to use JQuery and have created the following code after reading various tutorials. I still don't quite get how JQuery variables and arrays work. Can someone point me in the right direction as to how I can print the current filename below the image and how I …

Member Avatar for tqwhite
0
1K
Member Avatar for phoenix_dwarf

Hi, I'm trying to loop through a listbox that is runat="server" (to get all the values of the items inside the listbox regarless of if they are selected or not). Now i have searched for hours on end and still don't find anything (all the examples is just for the …

Member Avatar for phoenix_dwarf
0
128
Member Avatar for Santho786

In my application i have a view page(html or jsp) with five field (Qualification, Semester, Maximum Mark, Obtained Mark, Percentage). I have one add button, if i click on add button one java-script will be called and it will display a row in the same page with five column (Qualification, …

0
106
Member Avatar for Santho786

In my application i have a view page(html or jsp) with five field (Qualification, Semester, Maximum Mark, Obtained Mark, Percentage). I have one add button, if i click on add button one java-script will be called and it will display a row in the same page with five column (Qualification, …

1
102
Member Avatar for loveisblind

I'm inexperienced with Javascript and I found this script, but I'm not sure how to alter it to do what I want. I have a PHP script that creates forms in a loop. $z in this case could equal 3, and 3 forms each containing 1 Position/Office field will be …

Member Avatar for fxm
0
164
Member Avatar for baseballfury

I keep getting an object expected error at the start of my <body> I've set a form to value="Accountants" and <body onload="showindex()"> in an attempt to automatically submit this value to a js file whenever the page loads. My aim is to have dozens of html pages all using the …

Member Avatar for baseballfury
0
144
Member Avatar for thatnewbreed

I am having trouble populating elements from the following Yahoo RSS feed: [url]http://weather.yahooapis.com/forecastrss?w=12773400[/url] I need to show the current weather conditions when a button is clicked. Here is what I have so far. [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> <title>Current Weather Conditions</title> </head> <script language="javascript" …

Member Avatar for thatnewbreed
0
253
Member Avatar for Santho786

how to avoid validation summary when required field validator is disabled..i am disabling required filed validator from java script...eventhough i disabled it ...error message is shown in validation summary. I am facing the error... Explain how to go ahead ... i need to go ahead with jsp, javascript, not with …

0
213
Member Avatar for gskoli

Dear all, below code snippet insert one row to table & delete one row if its index in more than 11 . Its working Fine in all browser even working in IE but giving Error , I think that is Exception "Index or size is negative or greater than allowed …

Member Avatar for gskoli
0
146
Member Avatar for hasjem

i tried to solve a problem using php, mysql and javascript. i should cliuck a button and ythen the script alters some values in the mysqldatabase. it doesn't work. someone said i had to use ajax but i have never used ajax, please give me some help the internet dazzles …

Member Avatar for rajarajan2017
0
98
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
166
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
204
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
111
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
83
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
119
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
53
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
372
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
95
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
189
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
135
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
113
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
362
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
131
Member Avatar for laghaterohan

Hello, I have a gridview in my project (asp.net , C# ) . I want to apply the Jquery to this gridview thereby adding various functionalities to the gridview in a easy way. I found out that in javascript i need to add a plugin ( which i d/w thru …

Member Avatar for kvprajapati
0
90
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
227
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
133
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
54
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
52
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
137
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
201

The End.