15,688 Topics
![]() | |
OK. My 'logincontainer is hard coded HTML in the index.html page and is shown when a 'placeorder' button is clicked. The client enters their e-mail address in the only input visible and javascript addevent onchange checks to see if it is a valid e-mail or not. Above the input id … | |
hi Iam using following script for time count, my Quiz project <script type="text/javascript"> var javascript_countdown = function () { var time_left = 10; //number of seconds for countdown var keep_counting = 1; function countdown() { if(time_left < 2) { keep_counting = 0; } time_left = time_left - 1; } function … | |
Hi, I need some help in making the login like the daniweb...How am i going to do this that when i click the login it will show the div and the background will turns to gray.just like the daniweb...I am not quite good in javascript i am still studying on … | |
Hi, I'm using a javascript function to toggle and display only 1 div at a time. In this case, I have 3 divs as toggle buttons and 3 divs to show content (which belong to those 3 buttons). My problem is these 3 divs (divs with class .linkBox) that act … | |
Hello, I'm wondering if anyone has an example or can guide me on how to position selected item automatically WITHOUT SCROLLING DOWN. Your help is greatly appreciated. | |
Hello, I'm wondering if anyone has an example or can guide me on how to position selected item automatically WITHOUT SCROLLING DOWN using C# Your help is greatly appreciated. | |
can u guys help me out i have make one form and i want that if i click on text around radio it select radio here is my form code [CODE]<form name="myForm" action="join.php" method="post" id="joinPool" name="insert" > <input type="hidden" value="" name="event_id" > <input type="hidden" value="survivor" name="game_type" > <input type="hidden" value="38" … | |
I'm having an issue with prototype... I have the following code that I want to execute: [CODE]Event.observe(window, 'load', function(){ $('mesTour1').hide(); $('mesTour2').hide(); $('mesTour3').hide(); $('mesTour4').hide(); $('mesTour1').appear().delay(0.5); $('cancelTour').observe('click', function(){ $('mesTour1').fade(); }); });[/CODE] the very first time it's loaded, it doesn't work, but if the page is refreshed, it works perfectly. is there something … | |
ok so i am using jquery ajax to send post data to the php page to get processed. since im using a textarea with an editor on it i have to call the content like so var content = $('#pagecontent').val(); then post it through to the php page. which works … | |
Hello I have converted a ogg video to WebM using VLC Player. If i embed my video's it doesnt work in firefox. Firefox tries to use the WebM format. But for some reason it isnt working. The video: [url]http://corne.testingserver.nl/school/weer/ot/assets/weather.webm[/url] My code: [CODE]<video id="vbg_video"> <source src="assets/weather.webm" type="video/webm"> <source src="assets/weather.ogv" type="video/ogg"> <source … | |
Hi All, Just a quick one, My code (Below) works in Internet Explorer, but not in Chrome, Safari or Mozilla Firefox. Not sure why, but would it be possible for someone to point me in the right direction? Thanks! Code attached; [CODE=Javascript]<script language="javascript"> function formAction(flag) { switch (flag){ case "create": … | |
Hi,morning guys. I want to ask anybody know to write javascript to deal with the authentication API key of the php. My condition is like that: 1. i will provide the key to other site owner which already registed at my website. 2. then i want to write a javascript … | |
I have code for moving boxes but it have slider to control speed and tilt of boxes. I want to remove these sliders without stopping auto move effect. Can anybody convert this code to simplest? Please help Thanks in advance. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html … | |
hello, I m trying to check if user has selected at least one checkbox and give an alert for select atleast one. the checkbox in the forms are dynamics depends up on data received from database for ex. user has to select at least one customer to process ahead . … | |
I am trying to use javascript to validate text boxes on my form. I am currently using this code: [CODE]<script type="text/javascript"> function validate_form (){ var myTextField = document.getElementById('Motor_Temperature'); if(myTextField.value == "") alert("Please fill in Motor Temperature") return false;} else { return true; } </script> </head>[/CODE] But i keep getting an … ![]() | |
Ok well I have a DIV menu bar that I want to stretch 100% in height. It worked perfectly fine until I added the XHTML doctype. So I tried absolute positioning which worked but then my other divs started overlapping them. So I want to know if there is any … | |
I found something here, but I'm not good at javascript, and i don't know which part of the code is the right! I need only for Checkboxes! [CODE]http://www.codingforums.com/showthread.php?t=11165[/CODE] I need something like: [B]onclick="check_if_at_least_one_is_selected()"[/B] :P there is only one <form></form> and all checkboxes are same type... | |
I want to use jQuery tooltip in a table which is created with php doing a while loop. I want that when i hover over a row, the tooltip fills up with data according to that row. I found something similar using asp.net, but i dont know how to implement … ![]() | |
When you fill out the [URL="http://www.thecreativesheep.ca/construction/sheepageb.htm"]form field[/URL] in IE 7/8/9 and try to edit a previous form field the cursor flicks between the fields. This problem doesn't appear in any other browser, I hope I was understood. | |
Hi JavaGeeks, i am trying to get context path of my Applcation. But it is showing errors in that. Can you please mention the way how to get context path in javascript functions. | |
Hey, I was given a task for a class to make a table that shows 1-10 in the first column, the square of 1-10 in the next column and the cube of 1-10 in the last column. Well I got it to work it just looks sloppy to me and … | |
I have a listbox which has some items in it and a button. I select some items and click the button. They are displayed in a table. I want these items to be displayed in the table to be unique...i.e. if I reselect those same items they should not be … | |
Dear Friends i am having n textbox. I want to validate the text box, So please any can help me to solve my issue. I have also enclosed the screen shot of the design | |
I have an iFrame that is 1024px X 700px. I removed the scrollbars using Scrolling="No" because the scrollbars don't look very pleasing to my eyes. I use javascript to scroll the iFrame but for the life of me, I cannot figure out how to detect if I'm already at the … | |
Hello all, I am messing around with the jPaginate files, essentially a pagination script using jQuery. I have the mark up working, but I am just messing around (not a real expert in JavaScript) and I have a simple question. When the user clicks on the next page icon, the … | |
Using onMouseOver in a link - I am able to display a file's contents in a frame. - I can display an image file in an IMG tag But I can't figure out how to combine the two. What I want to do is onMouseOver display the contents of a … | |
[IMG]http://i.imgur.com/DGegu.png[/IMG] I have that page above.. But the thing is the entire website was made using an iFrame that loads another page.. Each page has one of those at the bottom. Thing is when the main page loads the second page, there are duplicates of those at the bottom. I … | |
Hello Everyone, I`m Using this code to pass javascript associative array to php using jquery ajax [CODE]function install (loc) { var mydata = []; //lightbox(); switch(loc){ case "step1": { mydata['step'] = '1'; mydata['SiteName'] = $("#siteName").val(); mydata['SiteDesc'] = $("#siteDesc").val(); mydata['AdminEmail'] = $("#adminEmail").val(); mydata['username'] = $("#username").val(); mydata['password'] = $("#password").val(); } break; case … | |
I want to make a submit form that validates first through a .txt file then if validation is OK then I will send it.. for example I have a Submit form, and I will type on the form a number 50, then i have a number 50 on my .txt … | |
Hi there, I am having some problem understanding an event in jquery. Given the following example [url]http://api.jquery.com/event.pageY/[/url], I don't quite understand what 'e' is and what it does. The rest of the code is kinda clear, it basically gets the coordinates but I don't understand what is the function of … |
The End.