Javascript/Questions

SubjectDate AskedExpert
Javascript2/5/2012Anjana Silva
  Q: how to make code who convert google.com in goog.le example i type apple in box(like firstname box) ...
  A: I quickly made a script for you. Copy and paste the whole thing, and test it. <html> <head> <script ...
Form variable to a javascript variable6/12/2011Anjana Silva
  Q: have a piece of javascrip that refreshes the page: ---------- <script type="text/javascript"> <!-- ...
  A: There are some errors in your code. Please check this new code. ...
Form variable to a javascript variable6/11/2011Anjana Silva
  Q: have a piece of javascrip that refreshes the page: ---------- <script type="text/javascript"> <!-- ...
  A: Instead of your code, replace from the suggested code below. <html> <head> <script ...
multiple markers on google map6/6/2011Anjana Silva
  Q: Anjana Silva I was wondering if you know about google map if yes, I'd like to know how to place ...
  A: Have you went through Google's directions on how to adding places to a map using this link: ...
Connecting database thorugh javascript6/5/2011Anjana Silva
  Q: Kindly tell me what is wrong with following code. It is not executing-- <html> <head> ...
  A: I found slight errors in following lines. var strconn="provider=Microsoft.Jet.OLEDB.4.0; Quotation ...
jQuery plugin ~ Please help5/31/2011Anjana Silva
  Q: I want to install this jQuery plugin on my website, but I am not sure how to install it properly. ...
  A: These things must be there for sure. Withing the <head></head> section following code must be ...
validating letters only5/25/2011Anjana Silva
  Q: mam, i have a form in which there is a input box named "FIRST NAME"...i want validate only letters ...
  A: Just try this. <script type='text/javascript'> function checkLetter(text, msg){ var alph = ...
javascript getelementbyttribute5/20/2011Anjana Silva
  Q: Can you please have a look at the code below ? The code has gone completely beyond me .. I need some ...
  A: * means match all tags. getElementsByTagName() refers to XML DOM. Just see the link below: ...
link to specific radio button5/7/2011Anjana Silva
  Q: i want to have an html code that has a url which takes you to a page with various radio buttons. ...
  A: Your question is not straight enough to provide a good solution. Did you mean this? When you click ...
javascript4/1/2011Anjana Silva
  Q: Plz Explain text box countrol its event with example in javascript.
  A: There are several actions fired when certain event occurs. For example if looses the focus in a ...
Jquery ui accordion3/29/2011Anjana Silva
  Q: I am working on the jquery ui accordion ( http://jqueryui.com/demos/accordion/ ) for a website that ...
  A: Did you tried just moving out the 1st Section out of the <div class="demo"> .? <h3><a ...
Widget and Content Slider navigation not working on the same page.3/28/2011Anjana Silva
  Q: I am using one of Dynamic Drives Featured Content Slider v2.4 located here: ...
  A: I've personally tried this & it's working for me. Did you put all files (contentslider.css, ...
Price quote Claculator Problem3/24/2011Anjana Silva
  Q: I was wondering if you could help me with a problem with constructing a price quote calculator for a ...
  A: To achieve your goal, first you have to have a sound knowledge of Javascripts. I prefer you to go ...
A computer mystery1/17/2011Anjana Silva
  Q: Anjana Hope you've been doing well. Ever since I've purchased a new wireless Microsoft mouse for ...
  A: I also had the same problem with my ADSL USB Modem. This is a small issue that you don't need to ...
mulriple window.location.href12/10/2010Anjana Silva
  Q: I like to make more than one table cell clickable, please see ...
  A: Color should change in "onmouseout" event. I don't see any wrong in this code. Yes firefox have ...
mulriple window.location.href11/19/2010Anjana Silva
  Q: I like to make more than one table cell clickable, please see ...
  A: I quickly created a code for you. Please copy & paste the entire code (just after the stars line) ...
The Next Logical Step ..book Recommendation For Web Devolopment11/18/2010Anjana Silva
  Q: ) i have just finished reading "Head First HTML with CSS & XHTML" by Eric and Elisabeth Freeman ...
  A: P, It's good if you chose a server side scripting language before moving to your online store. You ...
Date and Time code not loading11/3/2010Anjana Silva
  Q: when it wont open in my browser, what am i doing wrong here? <!DOCTYPE html PUBLIC "-//W3C//DTD ...
  A: There are lot of synatx errors in your Javascript code. You haven't properly nested if/elses & ...
Javascript order form code10/26/2010Anjana Silva
  Q: What code must I use if I want to create an order form on my website where patrons can order and/or ...
  A: If you are planning to start a business of selling computer accessories, you'll need to have a ...
JavaScript IP Validation10/23/2010Anjana Silva
  Q: I used IPaddress validation in my client javascript. I have another requirement for IPaddress ...
  A: Please refer to the link below. http://javascript.internet.com/forms/val-ip.html?IPvalue=d If you ...
text box should contain only number.10/20/2010Anjana Silva
  Q: 1)Please provide the code were only number can be inserted in the text box. 2)User Name first ...
  A: You have to follow Javascript regular expressions to do this. Just refer these links. ...
text box should contain onlu number.10/19/2010Anjana Silva
  Q: 1)Please provide the code were only number can be inserted in the text box. 2)User Name first ...
  A: ' First of all let me thank you for asking my help. 1) To add a text box which takes only numeric ...
can we hide a text box in javascript10/14/2010Anjana Silva
  Q: i want to hide a text box in a html page on submit button a alert box should come which should make ...
  A: You can do this easily. I've written a code for you. In my code, once you click on the button ...
Validating 2 input fields in a form10/13/2010Anjana Silva
  Q: I have created a simple form that calculates net pay from hours worked + pay rate -4 different ...
  A: It's really easy to display all read only fields to show with two decimal places. Just copy & ...
Validating 2 input fields in a form10/13/2010Anjana Silva
  Q: I have created a simple form that calculates net pay from hours worked + pay rate -4 different ...
  A: I'm glad that I've managed to fulfill all your requirements plus little bit more :-) First of all, ...
how to get use backing beans object using javascript10/6/2010Anjana Silva
  Q: Now a days i'm facing a new challenge.right nw i'm using JSF and Spring.i have a list which i'm ...
  A: Try retrieving & saving your list (array) as a session in the page. Then pass it as an argument for ...
Save TextArea Data to External Text File10/6/2010Anjana Silva
  Q: I have 4 textareas. I am looking for a simple javascript to take all the data in Textarea 1, 2, and ...
  A: Welcome back. It's glad to know that my code went useful to you. Thanks for your feedback. I need ...
"Compile" Multiple TextArea Data10/4/2010Anjana Silva
  Q: I have 4 textareas. I am looking for a simple javascript to take all the data in Textarea 1, 2, and ...
  A: I created a HTML/Javascript code for you. This is how it works. There are 3 text boxes, 1 text area ...
php and javascript9/29/2010Anjana Silva
  Q: To my understanding, PHP executes in the server side while javascript executes in the client side. ...
  A: No. You'll not get any performance setbacks. Combining Javascripts with PHP is a normal scenario. ...
Playing Sound in Javascript9/28/2010Anjana Silva
  Q: I am running a series of quizzes on my hockey website. Click on a puck and you receive sound. I ...
  A: As I noticed standalone mp3's are working properly. Ex: ...
Doubt9/28/2010Anjana Silva
  Q: am poor in english. I attach my code for your reference. When the user clik ERP it should turned to ...
  A: Please use following code instead of above code. This will change text when you mouse-over ERP,SAP ...
java script9/23/2010Anjana Silva
  Q: . thnx mam. I got d ans. Could you tell me some other method for this coding style. Bcoz itz too ...
  A: You can slightly modify the code as follows. Then you'll be able to tie this code with your future ...
dbt9/22/2010Anjana Silva
  Q: with your ans for my previous question i tried to change the bgcolor of td in onmousemove event. But ...
  A: I found some errors in your code. 1). style.bgcolor must be style.backgroundColor. 2). You haven't ...
javascript9/21/2010Anjana Silva
  Q: what is the difference between write the script in head section,and body section?
  A: If you define a javascript in head section, it'll loaded completely before the execution of body ...
Doubt9/20/2010Anjana Silva
  Q: I am doing web based application as my mini project in Java script. I created a form with two ...
  A: I just created a code for you. Just copy & paste following code into a blank notepad file (or to any ...
javascript array?9/15/2010Anjana Silva
  Q: Could you please explain the syntax of the following javascript code? thanks, lzzzz var ...
  A: var javascriptEventController = new ElementJavascriptEventController(); In the above line it ...
javascript checkbox - if this, then...9/1/2010Anjana Silva
  Q: I would like the following to happen in a JavaScript - can you please help me with the code? Thank ...
  A: Here's the modified code. Extremely sorry for the delay, I was extremely busy today morning. ...
javascript checkbox - if this, then...9/1/2010Anjana Silva
  Q: I would like the following to happen in a JavaScript - can you please help me with the code? Thank ...
  A: Two objects cannot have same values & id's. So first of all you need to think of 3 distinct ...
javascript checkbox - if this, then...8/31/2010Anjana Silva
  Q: I would like the following to happen in a JavaScript - can you please help me with the code? Thank ...
  A: Here's the Javascript code & HTML code for the above prototype. <html> <head> <script ...
dropdown in javascript8/16/2010Anjana Silva
  Q: what is the function code of the following program..? <html><head> <script type="text/javascript"> ...
  A: This code is intended to show a drop down list. The data must be filled from a array in javascript. ...

Page:   1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10  |  Next      All

Javascript

All Answers


Answers by Expert:


Ask Experts

Volunteer


Anjana Silva

Top Expert on this page

Expertise

I can answer most of question regarding JavaScripts. Such as how to effectively use JavaScripts in your web page or how we can mix DOM & JavaScript together in our HTML pages. Also I can answer how to validate a form, add dynamic content effects to a web page, menu effects, etc..

Experience

I'm in the field of web development for more than 5 years. I use various JavaScript techniques to fulfill my requirements. I've been using the combination of JavaScript/DOM/HTML effective in my web pages.

Organizations
(1) e-Innoving IT Solutions - Owner (2) OpenArc Business Process Outsourcing - Web Developer

Publications
(1) http://www.anjanasilva.info (2) http://www.e-innoving.info (3) http://www.bestdentistsforless.com/register/register.php

Education/Credentials
(1)Diploma in Information Technology (Currently I'm an undergraduate student of the Bachelor of Information Technology). (2)I've followed courses, workshops on JavaScript.

Past/Present Clients
(1). Legend Maldives PVT Ltd (2). Idama Property Developers & Building Contractors

©2012 About.com, a part of The New York Times Company. All rights reserved.