15,127 Topics

Member Avatar for
Member Avatar for fantasma

Hello I'm trying to generate a JSON file with the JSON.Stringify, but, the quotes that are generated by my code o are not compliant with the json format. It's generating smart quotes to the left like (“object”:“pair”) instead of ("object":"pair") Does anybody knows how to solve this? I've searched dozens …

Member Avatar for fantasma
0
298
Member Avatar for MysticalNomad

My project requires that I have several arrays defined in javascript such as: var d1 = new Array(2,17,18,19,20); var d2 = new Array(2,18,19,20); var d3 = new Array(2,18,21,19,20); var d4 = new Array(2); var d5 = new Array(2,18,19,20); var d6 = new Array(2,18,21,19,20); etc I have a `<select>` element which …

Member Avatar for Troy III
0
193
Member Avatar for kaizokupuffball

Hi! I have this problem on my website. When i move to the randomize section of my page it loads slow. It's ment to fetch alot of images, but it loads pretty slow, also the window freezes until the jQuery code in done running. I don't know how to explain …

Member Avatar for LaxLoafer
0
176
Member Avatar for Violet_82

Hi there, I am running a few test and trying to practice a bit with javascript I have come up with a script which is meant to swap images but it is producing errors. I had tried to debug with firebug but it is not going well at all and …

Member Avatar for Violet_82
0
120
Member Avatar for biblemdkeid

Hi, I have checked my JavaScript on IE, Chrome, Safari and Opera and every browser works well except Firefox. Well, Firefox also seems to work but it does not work properly. Any reasons? Thank you

Member Avatar for almostbob
0
66
Member Avatar for bsewell

Hello all, I have an interesting bug in a calculator I have written. I've snipped the code done to something to get an idea of the calculator. So, if I clilck on Imperial, I can't seem to put input into my text boxes. However, if I press my TAB button …

0
123
Member Avatar for bsewell

Hello all, I'm trying to get a calculation to appear in a DIV, in HTML. The calculation shows fine with the HTML, but my problem is that the result is showing straight away. I want it to display 5 seconds after the calculation is done (it's done in jquery). What …

Member Avatar for bsewell
0
151
Member Avatar for ak47carbon

on body load it is getting value of function tryt2(l) but iwant that on body load it get both function value and onclick i want to play animation.gif while getting data from 001.php but after getting data img will be removed plz tell me ASAP <html> <head> <script type="text/javascript"> var …

Member Avatar for ak47carbon
0
172
Member Avatar for ZeroZen

Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to …

Member Avatar for hericles
0
205
Member Avatar for ZeroZen

Hello Daniweb! I'm an amateur programmer who's learned quite a bit from online references, and usually searching eventually reveals the problem but I'm stuck! I've overcome many obstacles when creating a custom button on the Ajax Editor control, namespace issues, registring the controls properly etc. I resist the temptation to …

0
134
Member Avatar for Pravinrasal

Hello everyone I created one canvas and draw one line on it I want to move this line using mouse on the canvas How to move line on canvas because using draggable function it cant move so pls help me.

Member Avatar for Pravinrasal
0
777
Member Avatar for Mongz

I need to make a contact form on a website that will send comments to an email. I have designed the html file but i'm not sure where to beggin with adding the file or code that will support this function. So far i have learnt that it can be …

Member Avatar for gotboots
0
150
Member Avatar for nova37

my java scripting is week ..... so i want to ask that i have alexa traffic graphs links and i want to Load them with javascript when use click desire tab ( see image) so how to do that . [ http://i1102.photobucket.com/albums/g453/darkc99/sss.png](image) <!--Daily Traffic Rank Trend--> <script language="JavaScript" type="text/javascript" src="http://xsltcache.alexa.com/traffic_graph/js/g/b/6m?&amp;u=http%3A%2F%2Fwww.yoursite.com+++++"></script> …

0
59
Member Avatar for idiotguy

Hi friend! I want to get the code which helps daniweb to show the preview of every site/link it gets. For example let me give a link [here](http://www.google.com) whenever i hover my cursor to that link,it shows me a preview of that site. Can you give me the code which …

Member Avatar for idiotguy
0
196
Member Avatar for DavidAntaramian

# Introduction to the Issue # I'm currently working on a piece of code that was put together by someone else on my team. All of his logic was in the `index.html` file, so I'm trying to factor it out into a modular library. Part of the reason is that …

Member Avatar for DavidAntaramian
0
234
Member Avatar for grozadani2007

Hello there, This is my form: <form method="post" enctype="multipart/form-data" action="upload.php"> <input type="text" name="nume" id="nume"/> <select name="an" id="an" > <option value="2010">2010</option> <option value="2011">2011</option> <option value="2012">2012</option> <option value="2013">2013</option> <option value="2014">2014</option> <option value="2015">2015</option> <option value="2010">2016</option> <option value="2011">2017</option> <option value="2012">2018</option> <option value="2013">2019</option> <option value="2014">2020</option> <option value="2015">2021</option> </select> <input type="file" name="images" id="images" multiple /> <button …

Member Avatar for grozadani2007
0
292
Member Avatar for Dani

How can I convert a DOM node to a jQuery object? I am using a javascript library that is returning a DOM node. I don't know any of its properties. I want to convert it to a jQuery object so that I can work with it.

Member Avatar for Troy III
0
8K
Member Avatar for tahsin.rahit

HI I want to pass HTML input array to jquery. I don't using `<form>` tag. only `<input>`tag. `<input type="checkbox" name="remove[]"/>` and `<input type="text" name="quantity['xyz']"/>` Here *xyz* will be diffrent for each input (these 2 line is actually generated by PHP loop) These two lines will be repeated several time by …

0
95
Member Avatar for janetb

Not a JS guru, so can someone tell me why the following works on a .net aspx page in Javascript for IE, but no FF (v11)? The FF console shows no errors. The alert commented out below shows the correct date in the 1-1-1900 format when entered in the 1/1/1900 …

0
50
Member Avatar for Valten1992

I'm currently adding a dashboard-like view to my web project, which polls data from OIDs using SNMP. My current step is to use AJAX to reload the page but I'm running into some design issues on that front. Accessing the servlet class on the server will generate hello.jsp, which displays …

0
135
Member Avatar for mbarandao

Hello: I have an ajax file to loads the content of another file into a div, here is the js code: <script type="text/javascript"> function showUser(str) { if (str=="") { document.getElementById("txtHint").innerHTML=""; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, …

0
84
Member Avatar for jogieglenmait

how do i print a 2d array in a javascript without leaving the form. because whenever i click a button, an element is added to the array but it shows it in a different page here is my code function addNumbers2Array() { MultiArray [x] = new Array(6) MultiArray[x][0] = parseInt(document.getElementById("latitude").value); …

0
99
Member Avatar for tst234
Member Avatar for little_john

Hi, I'd like to edit database with quickedit, the script is work fine if in the first page, but if in the other page it go to top page again when I click on it. How to fix so it won't reload to the top page. Here is the main …

0
116
Member Avatar for Violet_82

Hi there, I think I have made a mess of the site I am working on, and I was wondering if anybody can help me understand how to fix this issue (if it is an issue at all) Basically on this page I have 14 pictures http://antobbo.webspace.virginmedia.com/petras/test/czech_republic.htm and my script …

Member Avatar for Violet_82
0
163
Member Avatar for klemme

Hi all, Is there anyone who has used bumpbox, and integrated it succesfully? (http://www.artviper.net/bumpbox-demo/index.html) It is a lightbox which can display PDF inside the lightbox, which is what I am after. **I am testing it on localhost, but it should work anyways right?** This is what I have in the …

0
47
Member Avatar for stangn99

Hi All....this looks like a nice place to ask questions :) I'll start off by saying that I'm a total noob. I have a DIV with a static height set. Some dynamic content is being loaded into the DIV via PHP. My problem is, when I click on a link …

Member Avatar for aditya19897
0
2K
Member Avatar for vizz

is anybody know about drawing arc using jquery? I want to draw arc using css3 and javascript/jquery, I don't want to use HTML5 or canvas or else

0
48
Member Avatar for trinityit

How do I get the results of this to be on the same line? I would like it to say From Atlanta + away New York on the same line. It is currently putting the second selection on the next line. Sorry for the dumb question. I'm new to this. …

Member Avatar for fobos
0
60
Member Avatar for Heinz Stapff

confused: Not sure why this function works the first time but doesn't the second or third time. Any advice greatly appreciated. This is called with ul li tag onclick which sends an ajax get call to the database so the array can only contain upto 3 matching indexes. I should …

Member Avatar for Heinz Stapff
0
139

The End.