17,115 Topics
![]() | |
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 | |
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 … | |
<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 … | |
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 ; … | |
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!!! | |
Hi frnds, i need script for to change the images using next and prev button . | |
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. … | |
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 … | |
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> … | |
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 … | |
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... … | |
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! | |
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 … | |
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 … | |
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 … | |
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 … | |
| |
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 … | |
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 … | |
Hello i Want to use the Shortcut keys in my PHP project. can some body help me? thanx | |
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 … ![]() | |
With this *Spartan*, we can destructively disable all the links on the page. (Or whatever link collection we feed the Fn.arg.) ![]() | |
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 … | |
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.. ![]() | |
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 … | |
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!!! | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hai everyone i hava a big doubt how to make a own login forum for twitter application ? | |
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 … | |
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 … | |
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.. … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
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 & Events</li> <li class="ui-widget-content">Press, Marketing & PR</li> <li class="ui-widget-content">Business Development & Franchise</li> <li class="ui-widget-content">Mambo TV & Livestreaming</li> <li class="ui-widget-content">Mambo … | |
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"; … |
The End.