14,053 Topics

Member Avatar for
Member Avatar for gcardonav

Hi guys, I change my code from Javascript to jQuery and I believe I have everything allright, but my jQuery is not showing the value. Can you help me with it? I am adding the important snippets but if you need all my code here is it [Click Here](http://liveweave.com/YoR5Vz). Thank …

Member Avatar for gcardonav
0
188
Member Avatar for RAPIDFIRE0311

I need a delete function, I have tried all sorts of things and in this instance I have 2 different functions does not do anything. I just left it here for developmental help. The most I am able to do is delete all rows, **and only want to delete rows …

Member Avatar for LesF
0
301
Member Avatar for kyleo92

I'm trying to learn JSON/JavaScript as I'd like to use it over PHP/SQL. I was going to do this with TEMPOJS because it seems like that might be the easiest way to start off? I'm getting hung up, however. I can make everything work if I include the JSON directly …

Member Avatar for diafol
0
183
Member Avatar for ekseks

[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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link rel="stylesheet" href="css/jquery.datepick.css" type="text/css" /> <script type="text/javascript" src="js/jquery-1.4.2.js"></script> <script type="text/javascript" src="js/jquery.datepick.js"></script> <script type = "text/javascript"> function updateSelected(dates) { $('#selectedMonth').val(dates.length ? dates[0].getMonth() + 1 : ' '); $('#selectedDay').val(dates.length ? dates[0].getDate() : ' '); …

Member Avatar for neerajgarg
0
333
Member Avatar for shrikantsmane

Hi, I am facing some canvas related problem. I have create canvas at run time to draw a simple horizantal line. And also set tooltip to that canvas. code will execute well and when arrow move on line, display which is also fine. but the problem is around also getting …

Member Avatar for shrikantsmane
0
936
Member Avatar for sara.iqbal.7777

i have just made a game using HTML 5 and Javascript on my PC but now i want to run my game in my android phone .. can anyone help me how can i run that ??

Member Avatar for diafol
0
120
Member Avatar for jarid3421

I already made a post at Superuser [Click Here](http://superuser.com/questions/800325/how-to-make-google-search-look-dumb) I will summerize here: [1] http://i.stack.imgur.com/ZN60B.jpg My point is i do not want to see torrent sites in the search results,so if someone searches Google or any other search engine this phrase(-torrent-download-watch) should be automatically and invisibly added. [2] http://i.stack.imgur.com/4mUSt.jpg And …

Member Avatar for jarid3421
0
260
Member Avatar for nadiam

Hi guys. I got draggable to work but im having a problem with draggable on a cloned element. I have a button class `.r6s` that when clicked an image will appear in the `containment-wrapper`. The image is wrapped in a div with id `sixr`. what i did is initially hide …

Member Avatar for nadiam
0
315
Member Avatar for swathys

Hi, am not a experianced coder, would like to seek for help. i would like to create a session logout. a pop out appear which able to count 60 sec " Warning your eMyHome session will expire in 60 seconds. Do you wish to continue?" with button continue & logout. …

Member Avatar for swathys
0
316
Member Avatar for nadiam

for example: function Show(modal) { $(".box).show(); } so maybe use `<body onload="Show()">` is there any other way?

Member Avatar for niranga
0
176
Member Avatar for ravi142

Hello In Form when I Select **"Yes"** in Radio button then **Textbox** Show with **validation**.(Submit button) When Click on **"No"** then submit form without validation. Here my code <form> <input type="radio" name="gender" value="yes" >yes <input type="radio" name="gender" value="no" checked="checked">No<br/><br/> <div id="disp_not"> Company<input type="text" name="company" value="" id="company" /><br/><br/> </div> <input type="submit" …

Member Avatar for hericles
0
272
Member Avatar for Dani

Strictly from a performance standpoint, what are the differences between remove(), hide() and detach()? If I want to permanently make an element go away on the page, is remove() or hide() even marginally faster than the other?

Member Avatar for Dani
0
214
Member Avatar for secretply

I need help in resolving a memory leak found using JavaScript. What the program does is auto scroll the videos and when it reaches the center (supposed to be a grid but for the purposes of this problem, it is not visibily shown but can be noticed immediately) or scrolls …

Member Avatar for secretply
0
338
Member Avatar for hFJyCxL1

Hi folks, I just started working on a very interesting project as part of my university research for 3D visualization of earth's surface in 3D (not 3D modeling but real 3D!) using nVidia 3D vision in browser environment. I'm planning to use one of web-based javascript mapping platforms (like open …

0
35
Member Avatar for SimonIoa

i have done this ajax script so i can delete a page. it works fine the page is deleted from the database but after clicking delete the browser remains on the same page. after i refresh i get a 404. how can i redirect after success to first page? this …

Member Avatar for OsaMasw
0
195
Member Avatar for OsaMasw

Hello there guys I have javascript code for parallex effect its working great but what I need is to transform this code to jquery so my site contain only jquery codes not mixed. <script> var topDiv = document.getElementById("topDiv"); var speed = 1.5; window.onscroll = function() { var yOffset = window.pageYOffset; …

Member Avatar for OsaMasw
0
176
Member Avatar for samnorton05

I am trying to output the SELECTED TEXT within my javascript code. I created a function that will get the selected text and I just want to output it when the submit button was output. Here's the javascript for getting the selected HTML or TEXT. function getSelectionHtml() { var html …

Member Avatar for Taywin
0
393
Member Avatar for Siberian

Can someone please verify if there is something wrong with [this](http://www.thecreativesheep.ca/webdesignprojects/largeprojects/CreativeSheep/cs_site.html) page, by clicking the X in the div, followed by clicking the word "reach.me". What is suppose to happen is the div which you had previously closed should bounce in; that is not happening ?

Member Avatar for Siberian
0
177
Member Avatar for Ritesh_4

Hello I am currently working on a "local" dev wordpress site, where I have a JS file stored with the path as e.g, http://www.devsite.com/websites/wordpress/mysite/wp-content/themes/mtheme/validations.js Currently, am using the relative path e.g. src = "././wp-content/themes/mtheme/validations.js" to load it. However, on the live server, which is maintained by someone else and I …

Member Avatar for Ritesh_4
0
242
Member Avatar for gcardonav

Hi everyone, I been looking around how to solve this problem but I am stuck. I asked my professor and he is stuck. Can someone look at the code and see why I am getting this error? Thank you [Click Here](https://onedrive.live.com/embed?cid=C2E1FEBBE16A4502&resid=C2E1FEBBE16A4502%211354&authkey=ANpXFPvY6ss3LrY) Here is my HTML <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> …

Member Avatar for Taywin
0
537
Member Avatar for safian123

This problem has been bugging me for days now, basically everytime i click a radio button in the alert box it only selects saab so it would say ' the vehicle you selected was saab' if i clicked on the others it still would say the same thing. Any help …

Member Avatar for hericles
0
135
Member Avatar for Violet_82

HI chaps, I was wondering if it is possible to add a meta tag using jquery to an html page before the page loads. The reason why I ask, is because I have a page with no viewport meta tag on and it should have it only when the resolution …

Member Avatar for Ajith_1
0
5K
Member Avatar for safian123

Was just wondering on how to add arrays, i can * it, subtract it but cant't add. Heres the code. distance[i] = window.prompt("Please enter distance in miles"); total = distance[0] + distance[1] + distance[2] + distance[3] + distance[4] average = total / 5 miles.push(distance);distance[i] = window.prompt("Please enter distance in miles"); …

Member Avatar for JorgeM
0
100
Member Avatar for surferbloggy

Hi, I have to load a list of holtels from json and then click one hotel to load the hotel details page, i'm trying to solve with route i've added 2 different controllers for 2 different views each controller load a different json and this is the problem becouse it …

Member Avatar for hericles
0
289
Member Avatar for gcardonav

Hi Guys, I beed trying to debug my js code but I am not aware of any tool. The code I created is for my class. I am creating a simple webpage to play a guess the magic word. Now I am secure that my code is correct but it …

Member Avatar for gcardonav
0
230
Member Avatar for Priti_P

Hello, I want to use highlight / blick in validation. below is the validation function. I have just focused that fields but i want to highlight that fields and on click of it highlight should remove. I tried it in first condition but not working. function validation_summary_page() { var total_rows=document.getElementById('SkillDetails_table').rows.length; …

Member Avatar for AleMonteiro
0
150
Member Avatar for 68thorby68

Hi All, I am using a JS pluging (executed by document.ready function) to style HTML select item. I am also using the before() function to insert additional select items, as needed. However, the select items added using the before() function does not invoke the plugin to style the select box, …

Member Avatar for Taywin
0
194
Member Avatar for CodeGirl_xx

I'm trying to insert a google maps script with multiple markers and infowindows in my project. What I want to do is: -set a style css for infowindows (border, background-color, width, height, etc...) -move the closing button of the infowindows outside the infowindows (like in position relative) -set an automatic …

Member Avatar for Taywin
0
639
Member Avatar for John_74

i am new to ajax. i want to load the contents of one page in the div created in another page using href

Member Avatar for Taywin
0
75
Member Avatar for Priti_P

Hello, I want to disable tab event from input box on form for that i tried: <script language="JavaScript"> // disable tab event on form $(window).keydown(function(event){ if(event.keyCode == 9 ) { alert("tab is clicked") // it alerts but execute get vanished quickly event.preventDefault(); return false; } }); </script> and document.querySelector('input').addEventListener('keydown', function …

Member Avatar for AleMonteiro
0
154

The End.