15,121 Topics

Member Avatar for
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
288
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
195
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
123
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
Member Avatar for vizz

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

Member Avatar for Airshow
0
1K
Member Avatar for VenusCrystal

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 …

Member Avatar for VenusCrystal
0
136
Member Avatar for Alex_student

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 …

Member Avatar for Alex_student
0
91
Member Avatar for jbutardo

Hi, I have a VB.net program in which there is a checkbox and a textbox. The textbox contains a name or a user and by default the checkbox is on checked=true, now, I want the checkbox checked to be false, whenever the user change the text inside the textbox without …

0
75
Member Avatar for kevindougans

Hi guys, Can anyone help me figure out a bug in ie9 i'm having? I'm on a mac and using parallels to run ie9 and its a pain in the neck as I can't get firebug lite working to help debug with this. Anyway http://test.cafemamboibiza.com/en on the right hand side …

Member Avatar for Troy III
0
119
Member Avatar for realzahed

i've got a project to be done using javascript and html....i don't know how to pass the arguments from <input type="text"> to the javascript function i'm using in my program. i just want the javascript script to calculate the input given by the user and return the answer. here is …

Member Avatar for MarPlo
0
189

The End.