20,316 Topics
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 have the following part of code in a PHP file and I want to know if there's a way to make the URL open in a new window instead of the same window. It might be a dumb or easy question, but I'm not too familiar with PHP [code=php] …
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> …
I didn't use wordpress or joomla or drupal for my blogsite.Here i see all plugin codes built for wordpress. but these codes does not work at my site. But how can i add Social bookmarking button code to my own created blogsite? my website is built by html, php, css …
How can I terminate resources in a safe way when JFrame is about to close? - If I put terminate() in the a finally block it runs before windowClosing(). - If I put terminate in windowClosing() it can't be accessed from an inner class. I am aware that I shouldn't …
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 I want to create an image galery. When someone selects the images then the image is showing. I want when the user click on the half->right side of the image then goes to the next image otherwise (half->left side) goes to the precious image. How i can cut an …
Greetings, i would like to use Pictures/Images instead of text when i hover my mouse over a e.g. button.. I found this site: http://blogs.artinsoft.net/Mrojas/archive/2006/12/01/ToolTip-with-Images.aspx#comment but i got no clues on how to work with it. Is there any way simplier than this to add picture/image instead of text to a …
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!
I am unable to send a string from php page to java script page. I am storing a string in a php variable and I want to send this value to java script page on image icon click. Here is the source code: timetrack.php $activityid = $getResult->fields('ACTIVITY_ID'); // Now consider …
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 …
Hello Daniweb, Not sure if this is in the correct forum so sorry if I'm in the wrong place. I am an amateur web developer and I am currently in the process of making a full working, advanced website created purely from scratch and in Notepad++ so that I can …
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 …
WARNING NOOB ALERT!!! I hope I am posting in the right place. A little about me I am a Firefighter/Gamer/self proclaimed technerd. I made a site for a Group of other Firefighter/Gamers. Should say mudding my way through making a site. I need some help getting info from one place …
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 …
how to select a child Node and Sub Child Node dynamically. Iam taking Parent Node,Child Node and Sub Child Node from a Table and i have difficulties in adding child and sub child nodes Pls Help me with this Thanks Nirmala Devi
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 …
I have been a member here for awhile altho I have not been online in some time. Now, I'm trying to get back into the swing of things again. I am self taught as far as the code I know with intensions of going back to school as soon as …
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 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 …
Hello, I am currently working on a project and I am stuck at the moment. Basically I have a few JToggles buttons, a jbutton and a text box. When the user select a jToggle button, write some text in the text box and clicks on the Jbutton, the text on …
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 have made a sign up form which asks user to enter his personal + Academic details and EMPLOYMENT INFO, i am done with personal and academic details section and also designed EMPLOYER INFO section but as u know that it isn't necessary that every person would have employment experience …
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 …
Hello guys, i want to populate a textbox based on the selected index of a combobox. For example, the textbox will only be displayed if the selected index is "5". But the problem is, i generate a series of comboboxes through a loop which is based on the number of …
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 …
Hello world (i mean everybody) i'm a new guy here i will like someone who can be taking me in C++ i want to be good in C++, javascrip, ph, java aplet pls, the person should just carry me along here is my e-mail poyelana@yahoo.com. Thank for helping me.
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 …
hello guys.. im new in creating websites.. my problem is how to auto update the dropdownlist then the combobox is change/click? example: i have 2 combobox which **cbo1** contains the list of genre of songs like *pop, opm, love songs* etc. and **cbo2** contains the list of *artists/singers etc* about …
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
Any problem with this codes?The button not working at all if i put few actions inside the function,if i just put one (document.) action inside the function,it works. <script type="text/javascript"> function fnSubmit (){ var form1Content = document.getElementById("form1").innerHTML; var form2Content = document.getElementById("form3").innerHTML; document.getElementById("toSubmit").innerHTML=form1Content+form2Content; document.forms.toSubmit.submit(); } </script> <input type="submit" name="submit" value="Insert" onclick="fnSubmit()"/>
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 …
Whenever I click on form's red cross close button I want to close form, but I need to click it twice to close the form.I need to click it only one to close it. I don.t know what the cause,please help thank you robin
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 …
The End.