15,700 Topics
![]() | |
Hi i'm doing a project for college using jquery, i'd like to dynamically update a section when a link button is clicked without reloading the page, the content fades out and the new content fades in, but when i click on a link the content fades out but the new … | |
Hi there, I've been looking a lot on Google for this and couldn't quite find exactly what I was looking for. I have an upload function on my website and sometimes it can take a lot of time until the upload is complete. What I seek is that when you … | |
Hi there How do I get my menu to display on a blackberry or any other mobile phone? This is the site below.... I am not sure what other coding you need to look at.. Please assist? http://www.northdakota.co.za/ | |
How To make automate image gellry with Js, Dhtml or Ajax. I Tried But it doesnot starts automatically when web page opens. | |
Hi All Im trying to get this to work, but can only get it to work without putting the form tags in, and wont work with more than one set of the inputs. the below is the result when i use ajax to search for item names, then want to … | |
Hi, I can't figure out what I'm doing wrong here. It must be the simplest thing, but the script is meant to add asterisks only after the numbers 1, 2, or 3. Instead it is appending one to each number. Please help. <SCRIPT LANGUAGE="JavaScript"> var number=1; var is1or2or3; function checkIf1or2or3(n){ … | |
HI there, I run into a very annoying problem. On one of the sites I am working on, I have a series of landscape and portrait pictures to show. The landscapes are ok as you can see from here if you click on the first thumbnail http://antobbo.webspace.virginmedia.com/petras/test/egypt.htm but if you … | |
Hi – I have an inline jQuery function that selects the table cell data onclick. The jQuery part works well. I have added code snippet of jquery. $(function(){ $("#myTable td").click(function() { $row = $this.closest('tr'); case "name": alert($row.find(".name").html()); break; etc Instead of displaying the name on the client –side alert message, … | |
Hi all This is just a query and would like to know how i would go about creating a java countdown that would countdown from a date in my database and when it gets to zero it would disable the submit button. I currently have a java countdown working however … | |
Hello. So here's the stitch. I was asked to modify some existing code to only prompt the user to save changes when a change was actually made and not every time the new page button was pressed - which was what it was currently doing. I've ran into a bit … | |
Hello: I was wondering if I can get some guidance on how to pull data from mysql and inserted in js array in the following manner var option_array = new Array(num_of_cats); option_array[0] = new Array(\"You need to select a category\"); // This is the first (blank) category. Don't mess with … | |
i want to show an jquery animation in index page after showing animation then my website content will be display Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <html> <head> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $(document).ready(function(){ $("button").click(function(){ $("div").animate({margin:300},"slow"); $("div").animate({height:300},"slow"); $("div").animate({width:300},"slow"); $("div").animate({height:100},"slow"); $("div").animate({width:100},"slow"); … | |
HI there, I have runt into an issue with the overlay I have on the website I am working on http://antobbo.webspace.virginmedia.com/petras/test/egypt.htm The problems seem to be with Internet explorer 7, 8 and 9. Say you click on the first thumbnail, then the big pix comes up and behind it the … | |
Can please someone tell me, why I always get SECURITY_ERR when trying to open a new filesystem? The code is from html5rocks.com, so it is probably not the code. Chrome Version: 19.0.1084.15 (Developer Built). Code (from [html5rocks.com](http://www.html5rocks.com)): <html> <head> <style> .example { padding: 10px; border: 1px solid #CCC; } #example-list-fs … | |
Please apologize my ignorance, I am very new to this. So I have some code and am doing AJAX refreshes of some text on the page which works fine. Now I want to refresh things which are more complicated than just a text string, such as a button which is … | |
Hi, The code below is a Jquery News Ticker. It works but recently the codes broke. The codes are pulling data from the database. Some of the titles and descriptions have ' or "" in them. Would that stop the codes from working? If so, if you dont mind, Please … | |
I am trying to display value. The code below displays value but it uses alert to show value. But I need to show value in a textbox. Anyone there to help me??? $('#show').click(function() { var $cars = ''; $('#selected_cars .innertxt2').each(function() { var $car_value = $(this).attr('carvalue'); if ($cars == '') $cars … | |
Hi there, I'm trying to modify a form verification script. When you press the submit button it runs a javascript function that checks if the required fields are filled out. If not it sends up an alert and doesn't submit the form. What I'd like to do is have it … | |
I have customised fonts on my page, however they will not send to the print preview, how can i achieve this, the css loads fine but the javascript fonts are being sent as unstyled fonts. | |
I have a web application which have a datalist within a datalist. The outer datalist make parent items and the inner one the child items both with checkboxes for selection. I am retrieving these items from a database. THE PROBLEM: 1. I want the parent item to be checked/unchecked automatically … | |
hi... i'm a new member of daniweb i have a problem in setting 2 comboboxes. i want to populate the second combobox based on first combobox value. i already have the code running well in firefox and chrome. but the code is not working in IE. can anyone please help … | |
By using javascript, what I wanna do is that when a user click on a headline on wc_page.jsp a new page news.jsp will open. This page conatins all the news date-wise. Suppose a user clicks on the headline which is at number 5 on news.jsp page, I want to open … | |
<script type='text/javascript' src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script type="text/javascript" src="http://jqueryrotate.googlecode.com/svn/trunk/jQueryRotate.js"></script> <script type='text/javascript'> $(document).ready(function(){ $("#content").rotate(20); $("#inner_content").rotate(-20); }); </script> <div id="content"> <div id="inner_content"> </div> </div> This is not working in IE6+. Works only in chrome and firefox | |
Hello. I am not an expert and just know some basic HTML. I am trying to help a friend with a website. On the top there is supposed to be a table with two columns. The left column is a bigger area where I'd like to lead content. The right … | |
i have created a php application where am using a barcode scanner to load item name and prices from database. the problem is that once the barcode reader finishes reading the barcode, the details are loaded and it tabs to the next field. this means that the user has to … | |
Hi, Im looking for an easy method to validate the input of a form. Ideally I want to remove all spaces from the inputed text and also ensure that there are no speical characters within it other then a forward slash. The input will look like this 192.168.1.1/24. Thanks, | |
Hi, I see in many places a $ sign before variable names in javascript. What does that $ sign mean? For ex: i have say like below mentioned code: Fact_Class.prototype.intz=function($n){} What does the $ symbol before variable 'n' signify there? Can anyone explain? Thanks, VC | |
Hello all, Recently, I began learning JS to start creating websites. So far I have a working idea of what the DOM is & how to access elements within a document. I've also heard how jQuery & jQuery UI can increase functionality/productivity/interactivity & just about any other "ity" word you … | |
Hey all, Trying to get a map to show up with points read from Json, an example of what the coding looks like is this: ` {"earthquakes":[{"eqid":"c0001xgp","magnitude":8.8,"lng":142.369,"src":"us","datetime":"2011-03-11 04:46:23","depth":24.4,"lat":38.322},{"eqid":"2007hear","magnitude":8.4,"lng":101.3815,"src":"us","datetime":"2007-09-12 09:10:26","depth":30,"lat":-4.5172},{"eqid":"2007aqbk","magnitude":8,"lng":156.9567,"src":"us","datetime":"2007-04-01 18:39:56","depth":10,"lat":-8.4528},{"eqid":"2007hec6","magnitude":7.8,"lng":100.9638,"src":"us","datetime":"2007-09-12 21:49:01","depth":10,"lat":-2.5265},{"eqid":"a00043nx","magnitude":7.7,"lng":100.1139,"src":"us","datetime":"2010-10-25 12:42:22","depth":20.6,"lat":-3.4841},{"eqid":"2010utc5","magnitude":7.7,"lng":97.1315,"src":"us","datetime":"2010-04-06 20:15:02","depth":31,"lat":2.3602},{"eqid":"2009mebz","magnitude":7.6,"lng":99.9606,"src":"us","datetime":"2009-09-30 08:16:09","depth":80,"lat":-0.7889},{"eqid":"2009kdb2","magnitude":7.6,"lng":92.9226,"src":"us","datetime":"2009-08-10 17:55:39","depth":33.1,"lat":14.0129},{"eqid":"2010zbca","magnitude":7.6,"lng":123.533,"src":"us","datetime":"2010-07-23 20:51:11","depth":576.3,"lat":6.4939},{"eqid":"2010xkbv","magnitude":7.5,"lng":91.9379,"src":"us","datetime":"2010-06-12 17:26:50","depth":35,"lat":7.7477}]} ` Here is my code i have been using for this: var geocoder; … | |
function checkDate(sender,args) { //create a new date var and set it to the //value of the senders selected date var selectedDate = new Date(); selectedDate = sender._selectedDate; //create a date var and set it's value to today var todayDate = new Date(); var mssge = ""; if( todayDate -selectedDate >=18) … | |
Hello, Something really weird started happening in my web application. I have some buttons defined in a Master Page File and then I have a lot of pages that derive from this Master Page file. One of the buttons (In the master page file) closes the user session. This means … | |
I've brought up this topic before [if...else .. statement ](http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/417440/if-statement-/1#post1780532) Now my question is... i need to specified the time... where I know Java only can recognise "8" "9"... for hours ... and minutes from 1-60.... ok what if i need the action to be like this Instead of if … | |
I have a jQuery slideshow that works perfectly outside of a modal window. Once the slideshow is loaded inside of the modal window it stops working. I am stuck and have no idea what to do. | |
<script type="text/javascript" src="http://maps.google.com/map?file=api&v=2&hl=en&key=MY_KEY&sensor=true"></script> <script type="text/javascript" charset="utf-8"> google.load("maps", "2.x"); </script> This works well on localhost. On domain it gives error about obtaining key. I followed step given 3-4 times with generating key 3-4 times. But it continues giving error about javascript v2 obtaining key | |
Hi all, I have a a fact box on a site. Inside it I have listed questions in li elements: ` <li class="fakta_li"><p>Question 1?</p></li> <div class="svar">ANSWER 1</div> <li class="fakta_li"><p>Question 2?</p></li> <div class="svar">ANSWER 2</div> <li class="fakta_li"><p>Question 3?</p></li> <div class="svar">ANSWER 3</div> <li class="fakta_li"><p>Question 4?</p></li> <div class="svar">ANSWER 4</div> <li class="fakta_li"><p>Question 5?</p></li> <div class="svar">ANSWER … | |
This might be a very simple answer but it's been stumping me. I need to load an xml file so Ican parse in in javascript. But the file is located on a different server entirely. Can I download it to disc with javascript, so I can load it later? Thanks … | |
Hello everyone, i have got a question regarding radio button when i send the form with the submit button i want it to display the First name Last Name and also a text in the if statement. I think the submit function only works for the first last and email … | |
I am trying to create a website where a user can enter a start location and an end location into textbox's and the distance between the two location shall be output into another textbox (This is done using a google API). On my webpage I have set up several instances … | |
hi, I am trying to add autoplay in my playlist.When player loads it automatically plays all videos inksn loop. Thanks Need Suggestions. link: http://flowplayer.org/demos/plugins/javascript/playlist/youtube.html Code blocks are created by indenting at least 4 spaces ... and can span multiple lines <script> $(function() { $f("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.9.swf", { clip: {baseUrl: 'http://happylandings.in/demo'}, autoPlay: … | |
Hey, Im stuck because i am using multiple versions of Javascript, so only the coverflow is working. Please can someone help? Heres my code [CODE]<!DOCTYPE html> <html> <head> <title>Sir Harry Smith's School Report</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <link href="style2.css" rel="stylesheet" type="text/css"> <script type="text/javascript" src="includes/scripts/jquery-1.2.62.min.js"></script> <script type="text/javascript" src="includes/scripts/jquery-ui-personalized-1.5.22.packed.js"></script> <script type="text/javascript" src="includes/scripts/sprinkle.js"></script> … | |
I have created chatbox using jquery. It generates one chatbox per user. But it goes till users available. I want to show only 4 box on page. If 4 chatbox are visible and clicked on 5th user hide first chatbox from right side and add chatbox for that clicked user … | |
I have an assignemnt due this week and i cant figure out why i my code wont work. i have very little knowledge about javascript and HTML so please help!!!!! Make HTML5 page that can either retrieve data from a database table based on a user_name and user_password on the … | |
I am creating a list of images dynamically, following is the code <?php for ( $counter = 0; $counter < $obj1->id; $counter ++) { ?> <tr><td> Week <?php echo($counter+1); ?></td><td><?php echo" <a href=\"#hiddenDiv\" rel=\"facebox\";>";?><img src="tue.png"/></a></td></tr> <?php } ?> when the user clicks on the image a form opens. every image … ![]() | |
Hello :) I Form in this site http://in.linkedin.com/ that when you click Submit and "or Cancel" disappears and in its place appears loader image :) Thanks in advance :))) ![]() | |
Good morning developers....please am really new in javascript.I want to open a n ew page on that same page when I click on a link.I want the page to be centred like maybe 300 by 300 in the middle of the former page..Something like twitter when u click on a … | |
my code is to handle the maxlength in the multiline textbox (textarea) so it works just like maxlength in the singleline text box , so I handled it onkeypress , but if I copy and paste , i want to substring the length to the maxlength from the clipboard , … ![]() | |
How to glow and toggle between colors automatically using .animate( ) function? I started with this but failed further coding $(#glow).animate({ }); Inside above function var loop = true; // toggle on/off var speed = "250"; // animation speed var c = new Array(); //array for colors c[1] = "#0080FF"; … | |
<script type='text/javascript' src='http://code.jquery.com/jquery-1.4.4.min.js'></script> <div id="navcontainer"> <ul id="navlist"> <li><a href="#">Item one</a></li> <li><a href="#">Item two</a></li> <li><a href="#">Item three</a></li> <li><a href="#">Item four</a></li> <li><a href="#">Item five</a></li> </ul> </div> <script type='text/javascript'> $(document).ready(function(){ $('#navlist li').click(function(){ $('#navlist li').hide(); $(this).show(); }); }); </script> This hides li except clicked one. How to show all li again when clicked on … | |
Hi, I have a icon which on mouseover action i'm changing to another icon little bigger and with a tooltip. This icon is placed inside a table row before the text data. When mouseover happens it moves the text data to right and new icon is displayed. I dont want … | |
How are you, I need to write the follwoing code in JavaScript. I Thank you in advance. <script language = "VBScript"> Dim days(7) days(0) = "Sunday" days(1) = "Monday" days(2) = "Tuesday" days(3) = "Wednesday" days(4) = "Thursday" days(5) = "Friday" days(6) = "Saturday" Sub SetDay (day) Daybox.value = "You … |
The End.