15,698 Topics

Member Avatar for
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
98
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
112
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
101
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
162
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
143
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
252
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
211
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
145
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
202
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
110
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
82
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
52
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
370
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
134
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
112
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
360

The End.