15,688 Topics

Member Avatar for
Member Avatar for kutchbhi

The following sets a keydown event, preventing further input when a condition is achieved. [CODE]<textarea rows="5" cols="30" onkeydown="return checkLength(this)"></textarea> <script type="text/javascript"> var maxLength = 30; function checkLength(elem) { if (elem.value.length == maxLength) { return false; } return true; } </script> [/CODE] IN the above I don't understand this part: onkeydown="return …

Member Avatar for Troy III
0
122
Member Avatar for maxxxx

I'm getting an error in line 13 and don't know why. Can someone help me please? [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> <script language="JavaScript"> function popUp(URL) { eval("page" + id + " = window.open(URL, '" + id + …

Member Avatar for Airshow
0
200
Member Avatar for Pravinrasal

hi, I developed one web application and I have created div in JavaScript and on that div I have created more than one images and when I click on save button i want to save all images on to the database and when I retrieve that image from database as …

Member Avatar for stultuske
0
193
Member Avatar for z3o

I got this error while trying to view my websites on Chrome after reformatting my OS (Windows Vista Ultimate 64bit). I noticed I cant view my adsense ads from my laptop, but I can see them on iPad, so it might have something to do with my Google Chrome browser …

Member Avatar for Airshow
0
517
Member Avatar for vizz

Following is my code of menus which i include on each page like this, [CODE]<?php include('menu.php');?>[/CODE] [CODE]<script type="text/javascript" language="javascript"> $(document).ready(function() { $('ul#navlist a').click(function() { $('#navlist .active').removeClass('active'); $(this).parent().addClass('active'); var linkz = $(this).attr("href"); alert(linkz); return false; }); }); </script> [/CODE] [CODE]<ul id="navlist"> <li class="active"><a href="index.php"><span>Home</span></a></li> <li><a href="portfolio.php"><span>Our Work</span></a></li> <li><a href="services.php"><span>Services</span></a></li> <li><a href="request.php"><span>Submit …

Member Avatar for vizz
0
180
Member Avatar for edn_781

Please help me: My code is going into an infinite loop after clicking on a link. Here is my Code: [CODE] <html> <head> <title>Assignment</title> <script language="javascript"> var records_per_page = 5; var total_records = 35; function pagination(current_page){ var initial_page = 1; var total_page = 0; var page = ''; if(total_records % …

Member Avatar for Fest3er
0
146
Member Avatar for kaosjon

i am currently trying to add a uploading/scanning screen to my file upload site, (just to be clear i need the 'design' part of it, like actually displaying the box not anything to do with the scanners, or implementing the scanners, just a box that says scanning with a scanning …

0
122
Member Avatar for vb.net_beginner

Hey Folks I am just starting out with JavaScript and am following the resource book for the course I am on. One of the exercises is to write an external JavaScript as below which produces the following output: Power is Off Number is Ten the problem is that I am …

Member Avatar for vb.net_beginner
0
64
Member Avatar for vb.net_beginner

Similar to my last post one of the exercises is to write an external JavaScript as below which produces the following output: Iteration number: 1 Iteration number: 2 Iteration number: 3 Iteration number: 4 Iteration number: 5 Iteration number: 6 Iteration number: 7 Iteration number: 8 Iteration number: 9 Iteration …

Member Avatar for vb.net_beginner
0
79
Member Avatar for cjohnweb

Overview So I've got this site I've been working on for months. I thought I had it all figured out. But then I Google'd for my site, and clicked a link, and the same functionality does not work. Details Site: [url]http://whentoplant.com/[/url] Walkthrough - Everything seams to work Ok, lets walk …

Member Avatar for cjohnweb
0
186
Member Avatar for jchoudhury

Sorry for the basic silly question. But I really dont have any idea on solving this. I have ASP controls (One Text Box and One Drop Down List). Now I need to access [B][I]value [/I][/B]property of TextBox as well as [B][I]SelectedIndex[/I][/B] property of dropdown list. This should be as simple …

Member Avatar for Airshow
0
131
Member Avatar for suhaildawood

I am having some trouble with this code. I want have an onclick function on a div and I want to call this function. Only the 'if' section of the code works. If the #about opacity is anything other than 0.47, it still executes the 'if' code, but not the …

Member Avatar for suhaildawood
0
1K
Member Avatar for PomonaGrange

Hello all, I am looking for a bit of code to make an input field into a calculator. The main difference from most scripts is I want it with no buttons. I am hoping to use the number pad on the keyboard. So, for example, I would like an input …

Member Avatar for niranga
0
336
Member Avatar for jacob21

I need a tooltip where I can show content dynamically using (Query String [B]demo.php?id=12[/B]; id will change) jQuery, AJAX and MySQL.

0
59
Member Avatar for divsok

why this code shows <b> tags? ---------------------------- <html > <head> <title>My Editor</title> <script type="text/javascript"> var displayText=""; function boldText(){ oForm = document.forms[0]; oTextarea = oForm.elements["txtArea"]; textarea_val = oTextarea.value; oTextarea.value = textarea_val.bold(); } </script> </head>

Member Avatar for divsok
0
316
Member Avatar for prashanth18

Hello All, I have this situation. 1. I have one Text box (say first) and add button. 2. If i click add, one text box should be added + one delete button. 3. if i click add again, second text box should be added + one delete button. and so …

Member Avatar for kunalkrishneel
0
6K
Member Avatar for jpknoob

Hi all, i seem to be having an issue with a calculate function i have made,. the script works fine in all browsers except Firefox! I was hoping someone could lend a hand and explain what I'm doing wrong. The JS: <code> <script type="text/javascript"> //Calculator formulae function multiply(){ Form.result.value = …

Member Avatar for jpknoob
0
281
Member Avatar for Mariam142

Hi Guys, please i need your help i have w website project to be delivered tomorrow and i need fast tutorials to help me make plugins using jquery on "HTML made website". Thanks in advance :)

Member Avatar for Mariam142
0
176
Member Avatar for zeeshan_kust

I have a page that lists records from a database call. I want to have an 'edit' link on each row that will popup a Jquery dialog so that the row can be edited. My question is how do I pass the data from the selected row to the jquery …

Member Avatar for anggun
0
396
Member Avatar for Xtremefaith

Trying to accomplish a simple test for a project I'm working on. [B]The Form[/B] [CODE=html] <form id="agreement_text_form" action="" method="POST" onsubmit="updateAgreementText(); return false"> <textarea name="agreement_text" id="agreement_text"></textarea> <input type="submit" value="Update Agreement Text" /> </form> [/CODE] The textarea has a WYSIWYG added to it (not needed but just in case here is that …

Member Avatar for Troy III
0
1K
Member Avatar for EddieC

Most of the reports out yesterday about the release of [URL=http://www.microsoft.com/ie8]Internet Explorer 8[/URL]Beta 2 focused on its so-calledInPrivate Browsing, which leaves no trace of the Web sites you visit and protects anonymity. And while that's certainly useful, developers are likely to be more interested in its improvements in DOM and …

Member Avatar for AleMonteiro
0
345
Member Avatar for sachinmaster

I have a slight situation in my app in my jsfiddle. What I want to do which I can't achieve is that I want the functionality of the Option Type, Number of Answers and Answer buttons within each row to match the functionality on top. The problem is that under …

Member Avatar for AleMonteiro
0
331
Member Avatar for rameshsawant

I have a dropdown present in a div and i am displaying that div in a floatbox on the click of a checkbox using javascript. My problem is that the value of the dropdown that i am selecting is stored in a hiddenfield before closing the floatbox. But when i …

Member Avatar for AleMonteiro
0
84
Member Avatar for Talonnnn

I need help with JavaScript enabled. My job so that I can automatically send button to be pushed faster. I use google chrome. For example; Automatically have form filling add-ons. (Autofill), but only to fill the send button will not print. How can I do this automatically? Button codes; <input …

Member Avatar for stbuchok
0
190
Member Avatar for eawade

Ok, this is my final tango with this. Below I've listed the code. I'm able to get the value of the url and display it on screen for the current (active tab) in Google Chrome. Now all I have to do is pass that value as a parameter in the …

Member Avatar for Troy III
0
309
Member Avatar for sachinmaster

What is happening is that when the user selects the option "True or False" in a particular row, a string is appering in two places where actually it is suppose to appear in one place. If you follow the steps in my fiddle then you will understand what is happening. …

Member Avatar for Fest3er
0
146
Member Avatar for Eelyn123

I want to update my database when i click the label in the infowindow. but i cant seems to update even when it shows that "You have donated" the value that i pass in is dynamic data which means that i have retrieve the value and pass it into the …

Member Avatar for pritaeas
0
147
Member Avatar for jamesofknight

Hey guys, We have a requirement for a one to one chat from one of our clients for a social media kind of project we are doing. The problem is that we need it in quick time so i would rather use an already made component that is out there. …

Member Avatar for sufyan2011
-1
520
Member Avatar for nizam27391

Hello ALL..Emmmmm..:-/ Simple Quest.. Is it possible to make the awesome homepage slider/the hover things of Adidas.com using Jquery or maybe Ajax? I'm really2 like it..

Member Avatar for Airshow
0
196
Member Avatar for theakshay

Hey, I need a 2-level drop down selection for the state-city selection where the code gets the values of these dropdowns from the mysql database(since i'm using php). After the selection of the state the code should display the cities belonging to that particular state. Could you please provide me …

Member Avatar for pritaeas
0
210

The End.