15,127 Topics

Member Avatar for
Member Avatar for dyingatmidnight

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 …

Member Avatar for chrishea
0
520
Member Avatar for AdilJ

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.

Member Avatar for Troy III
0
43
Member Avatar for ariez88

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 …

0
103
Member Avatar for hptchen

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 …

Member Avatar for hptchen
0
181
Member Avatar for wolwayne

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 …

0
79
Member Avatar for vizz

<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

Member Avatar for vizz
0
264
Member Avatar for the_demon75

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 …

0
61
Member Avatar for mogaka

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 …

Member Avatar for Troy III
0
114
Member Avatar for felix001

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,

Member Avatar for Troy III
0
302
Member Avatar for VenusCrystal

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

Member Avatar for Troy III
0
158
Member Avatar for doc15

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 …

Member Avatar for Airshow
0
208
Member Avatar for Nole_diver

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; …

Member Avatar for Airshow
0
239
Member Avatar for vidyade

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) …

0
73
Member Avatar for MrCapuchino

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 …

Member Avatar for MrCapuchino
0
242
Member Avatar for trektrak

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 …

Member Avatar for trektrak
0
139
Member Avatar for singularity~

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.

Member Avatar for Troy III
0
139
Member Avatar for vizz

<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

Member Avatar for Airshow
0
144
Member Avatar for klemme

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 …

Member Avatar for Airshow
0
932
Member Avatar for YodaMerlin

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 …

Member Avatar for emclondon
0
196
Member Avatar for baz007

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 …

Member Avatar for emclondon
0
170
Member Avatar for roscoNI

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 …

0
125
Member Avatar for jacob21

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: …

0
196
Member Avatar for Caveman280

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> …

Member Avatar for Caveman280
0
228
Member Avatar for vizz

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 …

0
87
Member Avatar for cpat258

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 …

Member Avatar for emclondon
0
130
Member Avatar for aliasname

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 …

Member Avatar for stbuchok
0
81
Member Avatar for breakforce

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 :)))

Member Avatar for stbuchok
0
59
Member Avatar for gordey wilson

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 …

0
47
Member Avatar for sandysooso

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 , …

Member Avatar for stbuchok
0
1K
Member Avatar for vizz

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"; …

Member Avatar for vizz
0
212

The End.