15,127 Topics

Member Avatar for
Member Avatar for JorgeM

Here is my first attempt at creating a simple slideshow. Contributions to making this more efficient are welcomed! #jsFiddle --> [Demo](http://jsfiddle.net/wGnEm/1/)

Member Avatar for JorgeM
5
263
Member Avatar for klemme

I have an ajax call, and am wondering how I can fade in the response. The short code is this, I believe that is what you need to be able to tell what extra code should be added to achieve the fade in effect. PS: It is not made in …

Member Avatar for theHop
0
133
Member Avatar for asif49

I am writing some jquery script that will run across a large amount of completely different web pages (different domains too) and it will surround certain words on the page with html tags to style them up - make them more noticeable etc. Here's some sample code I've written... $('body').ready(function() …

Member Avatar for JJenZz
0
203
Member Avatar for alltech

Flash game is ok in IE but in Google Chrome or Firefox the game opens up in a specified window size but the game itself which is flash, is a small image at top left within the window size. for example like placing a postage stamp on top left hand …

Member Avatar for pixelsoul
0
179
Member Avatar for korathualex

set focus to textbox on blur validation...I am doing character strength validation on the blur event of textbox..How to set focus to it...

Member Avatar for BMXDad
0
146
Member Avatar for Shodow

how to make this "if the checkbox is checked add total + 10000 if uncheck none" because in this situation everytime i check or uncheck the checkbox it adds 10000 function AmmenitiesCALC(value){ newValue = parseInt(value); document.formcheck.Total.value = newValue; Total+=newValue; document.formcheck.Total.value = Total; } <tr> <th>AMMENITIES INCLUDED </th><td><input type="checkbox" name="Ammenities" value='10000' …

Member Avatar for DavidB
0
146
Member Avatar for asif49

Hi, My objective is to replace all pattern words that match a particular regex with that word surrounded in some html tags like so. Example html: <p>This is some text where the word text will get surrounded by something else.</p> After regex: <p>This is some <span class='mydiv'>text</span> where the word …

Member Avatar for JJenZz
0
247
Member Avatar for Shodow

how to add the sum of them all <script type="text/javascript"> function AddGuestCALC(){ newValue = (parseInt(document.formcheck.Price.value) * parseInt(document.formcheck.Guest.value)); document.formcheck.AddGuestTOTAL.value = newValue; } function MenuChange(){ newValue = parseInt(document.formcheck.Menu.value.asInt); document.formcheck.Price.value = newValue; } function LechonCALC(){ newValue = parseInt(document.formcheck.Lechon.value) * 6500; document.formcheck.LechonTOTAL.value = newValue; } function AmmenitiesCALC(){ newValue = parseInt(document.formcheck.Total.value) + 10000; document.formcheck.Total.value = …

Member Avatar for Shodow
0
185
Member Avatar for Samyx

Hello Everyone, I am having issues trying to display a grid on my page. I am not sure what I am doing wrong. I know the code is not very clean and efficient, I am just learning php and dojo. I want to display 2 graphs on a page and …

Member Avatar for Samyx
0
217
Member Avatar for asif49

I have a regex which matches a string of length between 10 - 15, lower case alphabetic characters like so... str.replace(/[a-z]{10,15}/g,"replacement word")); ^^ The next step is I'd like to ignore any whitespace whilst matching. I've tried str.replace(/[a-z]{10,15}\s*/g,"replacement word")); and str.replace(/[a-z]{10,15}\s?/g,"replacement word")); But it still doesn't ignore whitespace when matching. …

Member Avatar for JJenZz
0
557
Member Avatar for confstu

Hi every body, i'm a newbie in javascript, so i need all your help i have a javascript like this: <script type="text/javascript"> function validate(target, e){ var id = e.dataTransfer.getData('div'); var clone = document.getElementById(id).cloneNode(true); var allValues = []; for (i=0; i<clone.length; i++) { if (clone[i].value != "") { allValues[i] = clone[i].value.toLowerCase(); …

Member Avatar for charles nitro
0
161
Member Avatar for MasterHacker110

I am learning javascript. I get them to work when I use them within HTML code. But I would like to make programs that i can run on my desktop with javascript without using HTML or IE. Is that posible becuase I always get an error when trying to run …

Member Avatar for AffineMesh
0
103
Member Avatar for suavedesign

How do I delay an animation in jquery? I have a <p> in to the page as soon as the page loads. I have another <p> that I want to slide in only after the first <p> finishes coming in, and then I want an image to move when that …

Member Avatar for pixelsoul
0
112
Member Avatar for cokerz_written

Hy every body, i am a new people in here, so i am need all of your help, please.. i have the script ajax like this, <script type="text/javascript"> jQ(document).ready(function() { jQ().ajaxStart(function() { jQ('#loading').show(); jQ('#result').hide(); }).ajaxStop(function() { jQ('#loading').hide(); jQ('#result').fadeIn('slow'); }); jQ('#frm').submit(function() { var formData = new FormData($(this)[0]); jQ.ajax({ type: 'POST', url: …

Member Avatar for pixelsoul
0
267
Member Avatar for jonsan32

With the checklist script below, how do I make the letters dim to gray while making the strikethrough a bright red? I know it has something to do with placing one class that holds the text within another that holds the strikethrough and the text, but I just can't get …

Member Avatar for jonsan32
0
451
Member Avatar for Shodow

whenever i click on a radio button the value that comes out is NaN how to make it an integer function MenuChange(){ newValue = parseInt(document.formcheck.Menu.value.asInt); document.formcheck.Price.value = newValue; } <tr> <th>Menu </th><td>270/Head <input type="radio" name="Menu" onChange="MenuChange()" value='270'></td> <td> </td> <td>300/Head <input type="radio" name="Menu" onChange="MenuChange()" value='300'></td><td> </td> </tr>

Member Avatar for Shodow
0
2K
Member Avatar for techyworld

Anyone can tell me why am having this error? Uncaught TypeError: Object #<DedicatedWorkerContext> has no method 'terminate' on line 14 below this.addEventListener("message",function(e){ importScripts('test.js'); var object=e.data; object=JSON.parse(object); myArray=object.array; var tst1=new test(); for (var i=0;i<20;i++ ) { for (var j=0;j<10;j++) { word="" + myArray[i][j]+ myArray[i][j+1] + myArray[i][j+2] + myArray[i][j+3] + myArray[i][j+4]; var …

Member Avatar for techyworld
0
101
Member Avatar for ziyaddinsadigov

Hi, I want to add element after an element with loop. For example, I have 10 paragraph elements and I want to add div element after each paragraph element. How can I do it?

Member Avatar for ziyaddinsadigov
0
309
Member Avatar for techyworld

Hi guys, am having a problem with web worker. it tells me this error : Uncaught ReferenceError: importScripts is not defined i wrote it like this : importScripts('test.js'); i dont knw why it dont acept it. can someone help?

Member Avatar for LastMitch
0
74
Member Avatar for shazzy99

Hi, I've the following html/javascript/css code that I'm trying to execute. But it doesn't work. What I'm trying to do is similar to this: http://jsfiddle.net/FsPSZ/16/ (i've even tried this and the problem is the same) ` <!DOCTYPE html> <html> <head> <title>test</title> <style> #preview{ position:absolute; border:1px solid #ccc; background:#333; padding:5px; display:none; …

Member Avatar for McLaren
0
291
Member Avatar for Albert Pinto

Hi People, Got some jquery issue. I'm validating a Contact form. All fields are working fine except <textarea> I mean I wanna make all fields mandatory including textarea... --------------------------------------------------------- HTML CODE --------------------------------------------------------- <div class="formbox"> <form id="contact_form" action="#" method="post"> <span class="error" id="name_error">Please Enter Name !</span> <span class="error" id="email_error">Please Enter Email address …

Member Avatar for pixelsoul
0
11K
Member Avatar for afidah

Hi.. I want call data from table in mysql database using javascript How to do it? [EDIT: Moved from Java to JavaScript]

Member Avatar for afidah
0
92
Member Avatar for ckjaseem

Hai all , I am trying to make a google+ siginin button for my site. I went through this link https://developers.google.com/+/web/signin/#button_attributes and tried to make it working but now my styling is all messed up. I am not able to mess around with the [class='g-sinin'] in CSS. This is my …

Member Avatar for LastMitch
0
567
Member Avatar for spherecraft

hello forums. i have small problem im creating a simple page (no php ) just javascript and html. i have order.html which has a list of items. and then when you click the drop down menu it will automatically display the price of the item depending on the quantity on …

Member Avatar for IIM
0
412
Member Avatar for otengkwaku

I want to do and internet radio and i need someone to point me in the right direction that is, what technologies to use and also useful links and book. thank you

Member Avatar for alex007
0
205
Member Avatar for RamNandan

hey guys i have a table which has a textbox in each of the rows. Each of these textboxes hold value as its row id. This value in the textbox is changeable and i want to move that particular row to a new row mentioned by the user in the …

Member Avatar for RamNandan
0
153
Member Avatar for srinidelite

*Hello I was designing a form to take some value in the given fileds and return the whole as a "DRAFT" once the user fills the form clicks copy to clipboard the whole draft has to be copied ,if he/she clicks clear button the all fields has to be cleared …

Member Avatar for LastMitch
0
1K
Member Avatar for venu.gopal

Hi, I am very new to PHP, and i need small help. i need to fetch data on selection box onchange event and then apply pagination to the results. i have done etching data with ajax and when i tried applying pagination i am unable to load parent page of …

Member Avatar for pixelsoul
0
469
Member Avatar for arctushar

Hi I want to develop page. Where there will be three mp3 files as audio. 1.mp3 , 2.mp3 & 3.mp3 files. and there will be three button. button 1 , 2 and 3. Initially button1 will be enabled and other two will be disable. then when user click on button …

Member Avatar for LastMitch
0
101
Member Avatar for developer707

Hi, I have some time that I am trying to build a page with some menus and to include joberbase into one menu but I am having a problem to include it on the page. I am using iframes to show it, but when I click on Post New Job …

Member Avatar for LastMitch
0
208

The End.