17,115 Topics

Member Avatar for
Member Avatar for colon3l

Hi ! Let's get directly to the problem : I'm actually doing a firefox extension in which i would like to implement the [URL="http://jwebsocket.org/"]jWebsocket API[/URL] in order to build a small chat. I got my main script file, named [I]test.js[/I], and the jWebsocket lib into a js folder. Just for …

Member Avatar for colon3l
0
140
Member Avatar for ErlendHL

Hey! I want it so that the user presses an A tag, a link, to submit a form. Here is some of my code: [CODE] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>jeje</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> function popup(url, height, width,form){ newwindow = window.open(url,'333','height='+height+',width='+width); if (window.focus) …

Member Avatar for fxm
0
112
Member Avatar for ghost_from_sa

Hey guys im having an issue with a text file going past the end of file when its reading the lines even if there is text inside it... [CODE]<% // Gets the request var strQuery = Request("Show") + ""; var fso = Server.CreateObject("Scripting.FileSystemObject"); var errorMsg = false; var strError = …

Member Avatar for ghost_from_sa
0
123
Member Avatar for genesistr

hi, I have mfc c++ activeX object and javascript code to use that object. there are 2 types of callback in my activeX object. First: triggered itself(my activeX object) second: triggered via external dll. My javascript code can catch the first callback but although the message arrives to the FireEvent …

0
33
Member Avatar for nonshatter

Hi all, I have a been developing an Online auction website using PHP and Mysql for the last few weeks. I have implemented everything including the 'bidding', 'buy it now' options of the auction etc. I don't know much about AJAX to be honest, but I think it is the …

Member Avatar for fxm
0
4K
Member Avatar for ripraw

i need help :( i'm trying to create an external menu with rollover images i'm using php include() the javascript for the rollover images is written into the <head> of every page and the included file contains the revelant html.... .... the rollover doesnt work. it says 'done, but with …

0
75
Member Avatar for k2k

if i have 10 pages and each of the page has the same navigation bar, i don't think duplicating the code again and again in every page is the right solution... what do the pro normally do? ** i tried to use a frame inside one of my div tag …

Member Avatar for k2k
0
111
Member Avatar for spivey

I have built a mobile website that searches my library's online catalog. Most things work fine, but I am hung up on multiple page results. For instance, if you search the catalog for "The Beatles" ([URL="http://bit.ly/cl2RkN"]http://bit.ly/cl2RkN[/URL]), I can't provide access to the second and third page, or get the results …

Member Avatar for spivey
0
90
Member Avatar for gskoli

Dear all I have given a code snippet please help me out to sort out this issue <code> <script type="text/javascript"> function interval_setting(){ var clear = 0; clear =setInterval("xmlhttpPost11('index.cgi','tracker_shower','Latest_frame','Tracker_loader',clear,'','','')",20000);} </script> </code> Please reply cant i pass variable clear like this ? Cause in xmlhttpPost if i give single quote to that …

Member Avatar for fxm
0
108
Member Avatar for gskoli

[B]Dear all[/B], I have given snippet of code in that it is cgi file in which i am using iframe , source of iframe is calling another cgi file. [code] this is ABC.cgi file <script type="text/javascript"> function interval_setting(){ _clear = 5; _clear = setInterval("xmlhttpPost11('index.cgi','tracker_shower','Latest_frame','Tracker_loader',_clear,'','','')",20000);} </script> <body bgcolor="#FFFFFF"onLoad='interval_setting();'> <td bgcolor="#ffffff" height="75"> …

0
55
Member Avatar for niths

hi all, i had a user.php page. wen i went to this page i can see the list of projects with radio buttons. so wen i select a radio button and click submit the name of the project wil be send to the next page(upload.php) by 'url' i had used …

Member Avatar for sergb
0
74
Member Avatar for adxer

Hey I'm only new to Javascript so bare with with me please, but I have to write code that will add a number say for example 1, to a set amount of numbers lets say 5, so for example the output of the program should be: 1+1=2 1+2=3 1+3=4 1+4=5 …

Member Avatar for rajarajan2017
0
132
Member Avatar for UzuNarU

Hi ok this is what I'm trying to achieve. I have a page that loads a youtube.com video and below that video is a comments section. The video section is it's own DIV section and so is the comments. The submit new comment sits outside the DIVs. Initially the video …

Member Avatar for UzuNarU
0
285
Member Avatar for SebFr

Hi, I want to be able to call a Javascript file from a C# Windows Application. This is just a stand alone C# application. What I want to be able to do is to execute this JavaScript file, think of it as a function, and be able to pass parameters …

Member Avatar for kvprajapati
0
3K
Member Avatar for ndeniche

I'm building an AJAX application for my company, and in the main screen there is a login form. The login form has a submit button which calls an ajax function that checks with a php page the validation for the login credentials, and sends back a confirmation message. This message …

Member Avatar for achinaseller
0
382
Member Avatar for canadave

Hi there...I'm not much of a programmer, but I'm hoping someone will take pity on this newbie :) I have a webcam that uploads an image to my non-profit's website via FTP every 15 seconds. The filename is webcam.jpg. I have a javascript that automatically reloads the image (NOT the …

Member Avatar for fxm
0
2K
Member Avatar for Chad Gary

I'm not having this issue with Mozilla Firefox, but it seems that the results of the code below are being cached in EI 8. When the browser makes another asynchronous call to the server with different results from the database, those results are not being displaying on the wepage. How …

Member Avatar for parry_kulk
0
98
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
112
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
170
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
150
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 mohammed2raja

I hv design a progress bar, the method start_progrss() starts the progress bas and the method end_progrss() stops the progress bar. I develop two file 1. loginfile.php and 2. downloadfile.php My loginfile.php contain two text fields user name and password. /*********loginfile.php ************/ [code=JavaScript]function mysubmit(){ //code start_progress(); // here i start …

Member Avatar for Zebulons
0
220
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

The End.