17,115 Topics

Member Avatar for
Member Avatar for Buppy

Hi, I have the following JS: var event = window.event; if (event.keyCode == 38) { //do something } However, I keep getting the following error - TypeError: event is undefined This happens only on Firefox, for all other browsers this works fine. Thanks

Member Avatar for dcdruck
0
87
Member Avatar for zacharysr

Hello, i am making a keyboarding site for my class, and i have a div with some text inside, when they type, i want to check if the text matches the text in the div, if it dosn't, i wan't to update a box with an "error count". How can …

Member Avatar for Troy III
0
286
Member Avatar for ruchi123852

<html> <head> <script> function blink() { var f = document.getElementById('Foo'); setInterval(function() { f.style.display = (f.style.display == 'none' ? '' : 'none'); }, 1000); } </script> </head> <body onload="blink();"> <div id="Foo" >news</div> </body> </html> hi I have the code for blinking the text but i need to change the color of …

Member Avatar for urtrivedi
0
118
Member Avatar for Tko_1

so i have this script for a countdown and i would like to have the font color to be white, but i can not figure it out. thanks <script type="text/javascript"> today = new Date(); BigDay = new Date("<?php require("date.php"); ?>"); msPerDay = 24 * 60 * 60 * 1000 ; …

Member Avatar for Tko_1
0
124
Member Avatar for grafic.web

Hi there, i need help to : How to pass variable ASP to JavaScript ? Example: myvar = "textvarable" i would like to get it from a form without refreshing the browser, if is possible with AJAX Thanks!!!

Member Avatar for ainosilva
0
95
Member Avatar for virendra_sharma
Member Avatar for Markweb
0
115
Member Avatar for felgall

JavaScript doesn't actually have a sleep() function corresponding to what is available in other languages. We can easily implement one though. The following code uses afunc as an example function where we want to be able to have the code sleep for a number of milliseconds between sections of code. …

Member Avatar for Troy III
0
368
Member Avatar for trekker5200

Please forgive a naive question, but my knowledge of javascript is cursory at best and I could not find an answer via Google. My question is this: Is it possible to use javascript to read the link (URL) from the first entry in an RSS feed and then display that …

Member Avatar for mallxs
0
137
Member Avatar for Naimathullah

I need to display picture name when i move mouseover the picture using onmouseover. Please let me know what I need to add either to javascript or to PHP. <style> #contactdiv { position: absolute; left: 100px; top: 100px; width: 100px: height: 20px; padding: 5px; background-color: red; visibility: hidden; } </style> …

Member Avatar for Airshow
0
706
Member Avatar for ajay.motah

hi, im having a problem using this jquery I mamanged it to g and fetch data from mysql n now i want it to disply only one class at a time on available or not available here is the js $(document).ready(function(e) { $('#txtAuction').keyup(function(){ check_availability(); }); }); function check_availability() { var …

Member Avatar for Airshow
0
127
Member Avatar for sunil1239

Hello Every one..... I'm developing a web page to generate 2 random numbers and prompt the values to the user and they need to add those numbers and give the result. I tried it a lot but the values are not passing to the prompt window... can anyone help me... …

Member Avatar for LaxLoafer
0
161
Member Avatar for ajay.motah

hi, im using jquery for dynamic diaply of login, but now i wish to start the $session once the login is sucsseful. but my code is found in a function in a php class. So can i call that function? Thank you!

Member Avatar for theHop
0
72
Member Avatar for n01146

Hi, I’m completely new to jQuery so apologies for any obvious errors. I have a .CSV file with headings and data laid out as: Order Number, Stock Status, Quantity, Comments, Date 1234567, In Stock, 15, All in Red, 15/08/2012 1234568, Out of Stock, 203, Leave with neighbor, 21/08/2012 1234569, On …

Member Avatar for theHop
0
2K
Member Avatar for r3bol

Hi, I have a form with some radio buttons that are dynamically generated. I would need to send the id attribute value as well as the value attribte value in with the GET method. I can get the value of id pretty easy (see below), but can't figure out how …

Member Avatar for r3bol
0
63
Member Avatar for sithara.p.sundaran

I have a check box list of students and a search box in first php page .In ajax page I will get the search results . But the problem is ,if user selected first search result and searched again selection on the first search is lost How can I save …

Member Avatar for theHop
0
193
Member Avatar for questorfla

I need to change the setting on a our website for a utility program so that the users can SEE the letters and numbers they type when they log in. The same problem exists when the people who work here fill in the data for that user. We set them …

Member Avatar for stultuske
0
261
Member Avatar for Troy III
Member Avatar for basamdamdu

Hi there, I am trying to come up with an instant price quote calculator in javascript. it would be a simple one with only three fields: "label" -Number of Shirts "label" -Number of Colors on Front "label" -Number of Colors on Back "button" calculate total "results" total: $xx per bag:$xx …

Member Avatar for etshirt
0
2K
Member Avatar for HunainHafeez

I wrote Javascript (Jquery) script in Mater page for 2 radio buttons in content page mean i have 2 radio buttons , which show or hides div in content page and the script for it is in MASTER PAGE but it isn't working :( but if i copy Script form …

Member Avatar for HunainHafeez
0
215
Member Avatar for chira9na9pal
Member Avatar for pritaeas
0
75
Member Avatar for Dani

Even though it's incredibly bad practice, most advertising servers still use document.write. It's terrible because placing `<script type="text/javascript" src="http://www.ad-server.com/foo.js" />` where you want the ads to appear is page blocking. I'm trying to move the script tag to the very bottom of the page (so at least everything above it …

Member Avatar for Troy3
0
2K
Member Avatar for Troy III

With this *Spartan*, we can destructively disable all the links on the page. (Or whatever link collection we feed the Fn.arg.)

Member Avatar for Troy3
0
185
Member Avatar for alvin.decker

Hey! I am an experienced programmer (php, javascript, mysql, some ajax) who is looking for an experienced and competent graphic and/or web designer with whom to create a text-based RPG. I will assume the financial risk and the programming responsibilities. I need someone to make the banners, logos, icons, and …

Member Avatar for rotten69
0
224
Member Avatar for pmondal47

hi friendzzz, can u pls say how to validate textboxes in a fieldset using javascript..i know how to validate form but not a pirticular fieldset within a form..so i need ur help frnzz...pls reply as early as possible..

Member Avatar for iamthwee
0
90
Member Avatar for Eager_Beever

I am trying to build a Web Application using Visual Studio 2005 and C# 2005. I need to accept a date in a particular textbox. I tried to use AJAX Calendar Extender for the purpose. I have added AJAX Script Manager and CalendarExtender controls to the webpage and set the …

Member Avatar for Eager_Beever
0
1K
Member Avatar for <M/>

I wrote a slider that fades... but how do i get it to display randomly... but still fades :) Thanks Will post my code if needed!!!

Member Avatar for lps
0
85
Member Avatar for adishardis

I'm trying to use limesurvey but cannot get the slider as i would like it. Here is a link to the surveyquestion: http://adam.synology.me/limesurvey/index.php/survey/index/sid/164171/newtest/Y/lang/sv I want the images to change according to the value of the sliders. With a regular html form i had this to take care of it: <script …

Member Avatar for adishardis
0
202
Member Avatar for pmondal47

HI, can anyone pls help me regarding the following context..suppose i hv 3 form in javascript..when user give valid info in the first form then only the 2nd one will enable..after validation of 2nd one the 3rd one will enable ..not only that say 1st form has a title when …

Member Avatar for urtrivedi
0
107
Member Avatar for 68thorby68

I have a simple html/css page (attached) that uses a jquery function to enlarge images on hover. However, no matter how I try and manipulate the z-index of each html element, the enlarged image is always behind all other html elements. I have trid to change the css class .image …

Member Avatar for KaletonMedia
0
160
Member Avatar for Joncamp

I really need this WYSIWYG editor here on DaniWeb, with the smileys and rich text editing, does anyone know where to get it? Thanks, jon

Member Avatar for suresh89cse
0
551
Member Avatar for viteb

Javascript is a object oriented programming language.It is a flexible language.This loosely programming language has its own built-in datatypes.It offers three primary data types,two special data types and two composite data types. -> The primary data types are :- (1) Boolean (2) Number (3) String -> The special data types …

Member Avatar for jalpesh_007
0
53
Member Avatar for eddy007

We'll got stuck my self in adding row using javascript, It seemed doesn;t work at a time I click on the button "tambah Barang" do I missed something..??please help.. Thanks <?php include_once "config.php";?> <script type="text/javascript" src="../jquery/jquery.min.js"></script> <script type="text/javascript"> var idrow = 2; function tambah() { var x=document.getElementById('datatabel'); var td1=x.insertCell(0); var …

Member Avatar for eddy007
0
214
Member Avatar for rotten69

Hi everyone, I just found something interesting in my code but I ain't sure why JavaScript. var input= 0; // But in my case, the input variable is getting the value from a field in a form if(!Number(input)){ document.write('it is not a ZERO'); } This is something similar to my …

Member Avatar for rotten69
0
148
Member Avatar for solai.raja.144

I CREATE AN EMPTY SELECT BOX IN PHP. NOW I WANT TO ADD OPTIONS TO IT THROUGH FUNADDOPT() (JAVASCRIPT FUNCTION). HOW CAN I DO. PLEASE ANY ONE HELP ME

Member Avatar for solai.raja.144
0
36
Member Avatar for kimmi_baby

Hi, I have a wordpress site but really I'm looking for a plugin that will allow one word captcha. I have been searching for this but it doesn't appear to be the right name for it. What I want it to do is say "Please type the word frog" and …

Member Avatar for kimmi_baby
0
160
Member Avatar for nativeshadow

I have a Flight Log for a small company. I have been able to figure out most of the needs but 2, using Adobe Acrobat 9 and Javascript. 1. I have a passenger manifest that needs a count...I am having a problem with figuring out the code for the counter …

Member Avatar for nativeshadow
0
187
Member Avatar for rm_daniweb

Hi All, I just want to share my code. A lots of website said that php is on server side and javascript is on client side...they said we cannot run php on javascript... here's how we can run php function when you click call the onchange events on javascript. [code=php]function …

Member Avatar for talad
0
3K
Member Avatar for Violet_82

Hi there, I am in a bit of a situation. I have a few images that I have inserted in my html using javascript. The url of the images are stored as strings in json object notation and to access them in the script I had to have 2 nested …

Member Avatar for Violet_82
0
138
Member Avatar for jasperuser

Hi all, I am new to Ext JS, I have tried 'drag and drop' and it is working fine when i drag rows. What I am trying now is dragging a row (a field from MySQL) from left grid and dropping it on right grid that gives data from database …

Member Avatar for jasperuser
0
207
Member Avatar for sri.
Member Avatar for jax001

CAN anybody help m please i need it fast create interface where user can enter animals that he/she is buying from list of partner on a single cattle receipt. All data must be stored into temporary data container where data will always be available to view and edit. Maximum width …

Member Avatar for blocblue
0
194
Member Avatar for bad.boy.Vlad

I have this code to showor hide a div when click on button.But... If you ckick button the div appear.. but when you click again the div doesnt dissapear:| Code: function infoshowhide(){ if(document.getElementById('info11').style.display = 'none') { document.getElementById('info11').style.display = 'block'; } else { document.getElementById('info11').style.display = 'none'; } } *and i need …

Member Avatar for bad.boy.Vlad
0
261
Member Avatar for klemme

I dont have the best knowledge to js ot Jquery, so here goes: I have some links, that returns false when clicked on. But still i want to add a class to the element being clicked, because it is kind of a tab thingie in a div, so for usability.. …

Member Avatar for klemme
0
208
Member Avatar for programmer12

Hi, I am trying to create a jquery fadeIn from an external file. I am using AJAX and PHP (see below) 1st snippet is the notify.php file. 2nd snippet is the external file called random.php My question is: Where and How should I add in the Jquery to perform this …

0
69
Member Avatar for hallianonline

Hello, I want to set the default backgournd color to transparent but getting white color when i set it to transparent please check the line 26 ( **defaultBgColor: '#e5e5e5**') and 143 ( **backgroundColor: settings.defaultBgColor** ) of my code and please fix it for me please thanksss (function($) { var methods …

Member Avatar for hallianonline
0
208
Member Avatar for ajay.motah

hi, i am new to jquery though im learning,together with ajax. I have the following script that displays a modal login form after cliking on login_link. But for my web page, i used the .load to load content in the main content div, so whenever this code is placed the …

Member Avatar for blocblue
0
427
Member Avatar for rotten69

Hi everyone! My questions for the day are: Has anyone here used Wakanda studio/server to make a native app for smartphones? if yes or know anything about it, Give us an insight please. Do you know any free and easy to use studio that lets you develop native apps using …

0
96
Member Avatar for codemonkey88

Hello, I have been creating a website using a content slider (malsup's Cycle). When you first load the site it looks fine, but then if you click the home link, its shifting to the left hand side of the page, and clicking the arrow buttons makes it format really oddly. …

0
86
Member Avatar for kevindougans

Can anyone help me with jquery ui selectable please? My html is: [CODE] <input style="" id="input_4" name="input_4" value="" /> <ol id="selectable"> <li class="ui-widget-content">Reservations </li> <li class="ui-widget-content">Information and Enquiries</li> <li class="ui-widget-content">Mambo Tours &amp; Events</li> <li class="ui-widget-content">Press, Marketing &amp; PR</li> <li class="ui-widget-content">Business Development &amp; Franchise</li> <li class="ui-widget-content">Mambo TV &amp; Livestreaming</li> <li class="ui-widget-content">Mambo …

Member Avatar for abtraju
0
501
Member Avatar for RoyDot

Hi there! I'm new in JavaScript - I have a few button that i want to change their background image when i click them. What am I doing wrong? This is my code: <script type="text/javascript"> function Seat_OnClick(control) { var selectedImg = "url(../images/selected_seat.jpg) no-repeat transparent"; var deselectImg = "url(../images/normal_seat.jpg) no-repeat transparent"; …

Member Avatar for RoyDot
0
190

The End.