17,115 Topics

Member Avatar for
Member Avatar for cjmalloy

I am using some code I found on the internet to make all my external links in a new window. Also, I want to make these links gray. I think I once heard you coulden't change link colors at all once a page was loaded, but I may be wrong. …

Member Avatar for ShawnCplus
0
86
Member Avatar for serkan sendur

is it possible to load xml from local file system using ActiveXObject("Microsoft.XMLDOM") ?

Member Avatar for serkan sendur
0
78
Member Avatar for sureronald

I have a simple calculator written using javascript and html. I would like to make it such that when a link to the calculator is clicked, a pop up window with this calculator appears rather than referring a user to anew page. Thanks

Member Avatar for bryansmith123
0
145
Member Avatar for veledrom

Hi, I have a textarea with 2 information in (bmw, mercedes). When i click on bmw, it will be transfered into other texarea. How can i do it? Thanks

Member Avatar for veledrom
0
100
Member Avatar for serkan sendur

[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript"> function doSomething() { alert("works"); } window.onload = function() { var btn = document.createElement("input"); btn.type = "button"; btn.value = "click"; btn.onclick = "doSomething();"; document.body.appendChild(btn); } </script> </head> <body> </body> </html>[/CODE] What is the problem?

Member Avatar for hielo
0
183
Member Avatar for Narayan15

hi, I want to build a popup window that should not be minimized and maxmized. that should be always on top. when other window is opened then the pop up window should not be minimized. Please help meeeeee thanks in advance

Member Avatar for mschroeder
0
562
Member Avatar for jeffreyjs

HI, I am currently creating a personal website which i uses Dreamweaver build in rollover image for buttons, and at the same time i am using Shadowbox for the gallery, but i realise that the auto generated code for the rollover is interfering the Shadowbox from working properly, is there …

Member Avatar for jeffreyjs
0
112
Member Avatar for Potato.Head

Hi to all, I have the follwoing challenge: I need to set floating elements in a document and its position should be relative to another element in the document. I'll explain, lets says I have the below document, an html page with an image, I need to set the position …

Member Avatar for mschroeder
0
114
Member Avatar for rachaael

I am working on a really simple website, and each page has a clickable header that displays a different paragraph of text (ex: ABOUT US/ OUR STAFF.. 'ABOUT US' displays about paragraph, 'OUR STAFF' displays short descriptions of the staff in a paragraph). What is the best way to go …

Member Avatar for mschroeder
0
92
Member Avatar for mohamed1

welcome every body this is my first post when i tried this code to accept multiple requests in ajax [URL="http://javascript.about.com/library/blajax13.htm"]http://javascript.about.com/library/blajax13.htm[/URL] it gives me error "get is not a function" please help:)

Member Avatar for mohamed1
0
297
Member Avatar for wwwmadeasy

hello every one just want to know tips for how design maps like in the following web site [url]http://www.findaproperty.com/[/url] thanks in advance

Member Avatar for almostbob
0
113
Member Avatar for raghavendra83

How to toggle check boxes using JavaScript in Linux? I was able to do the same in Windows with the below code.... [code] function toggle_checkboxes(id) { if (!document.getElementById){ return; } if (!document.getElementsByTagName){ return; } var inputs = document.getElementById(id).getElementsByTagName("input"); for(var x=0; x < inputs.length; x++) { if (inputs[x].type == 'checkbox'){ inputs[x].checked …

Member Avatar for ~s.o.s~
0
116
Member Avatar for swit

Hello every one, i am new here so i would appreciate any help wit this. i am trying to call a url using javascript in an html select statement as follows; echo "<select>"; for ($i = 0; $i < $pages; $i++) { ?> <option value='' onClick='javascript:window.location.href= "index.php?option=<?php echo $option; ?>&task=view&limit=<?php …

Member Avatar for swit
0
224
Member Avatar for millsy007

I have some javascript that inputs a date into a textbox upon the selection from a pop-up calendar. I need to add a function call - GetSchedule() - within this calendar javascript code. My function will use the date that has been assigned to the text box so will need …

Member Avatar for david_a_smith
0
87
Member Avatar for swit

Hello every one, am called swit and i am new here. i luv programming and i luv this site.

0
62
Member Avatar for janakavishwajit

Hi alll............. Please can someone help me to find a way to call for a c# function from a javascript which is in the web page of web browser included in a windows application....... Urgently need....... Please............!!!!!!!!!

Member Avatar for janakavishwajit
-1
91
Member Avatar for jdbax

How would this be written on .js file. I need to create a variable named dateString which is equal to the following text string: weekday, month, day, year. where weekday is the name of the weekday, month is the name of the month, day is the day of the month, …

Member Avatar for sillyboy
0
53
Member Avatar for pcristov

hello, i have an online store and sometimes i have to close it for maintenance. when i close the store the visitors are redirected to a store_closed page where they read that the store "is temporarily closed for maintenance." i'm looking for a way to automatically redirect the visitors back …

Member Avatar for hielo
0
72
Member Avatar for chinni1

Hi I want to make different style of alert box on my code So help me how to make user choice alert box. Thanq

Member Avatar for almostbob
0
62
Member Avatar for oskido2010

Hi, Does anyone have a better idea of the ajax based login code, the one that does error checking etc, and also the member registration authentication. so far i have got an idea of the following!!! [code]function doLoginAction() { $filter = new Zend_Filter_Input($_POST); if (!($login = $filter->testAlnum('login'))) { echo "Login …

Member Avatar for mschroeder
0
89
Member Avatar for eawade

Hey Guys, I am frustrated with this matter and therefore need some help. I will try to keep this as simple as possible. I really need some help performing something that should be relatively simple in Javascript. I have a form which contains FOUR text fields (e.g. TEXTFIELD1, TEXTFIELD2, TEXTFIELD3 …

Member Avatar for essential
0
260
Member Avatar for kalpana0611

Hi, I managed to get the following script to work [code=html] <html> <head> <title>Adding and Removing Text Boxes Dynamically</title> <script type = "text/javascript"> var intTextBox=0; //FUNCTION TO ADD TEXT BOX ELEMENT function addElement() { intTextBox = intTextBox + 1; var contentID = document.getElementById('content'); var newTBDiv = document.createElement('div'); newTBDiv.setAttribute('id','strText'+intTextBox); newTBDiv.innerHTML = …

Member Avatar for kanaku
0
94
Member Avatar for nil

[COLOR=blue][B]Hello all,[/B][/COLOR] [COLOR=blue][B]I want autocomplete textbox facility like google in my application and i searched on the net and i found some articles that shows i've to use ajax(combination of javascript and xml) but they are using .dll file component but i don't want to use any kind of .dll …

Member Avatar for kanuja01
0
152
Member Avatar for marjan_m

Hi, I need to get a table in javascript n i wrote this code: [CODE] //mainMenu is the table name var x = document.getElementById("mainMenu") //then i need to get it's left margin so i wrote var x = document.getElementById("mainMenu").style.marginLeft; [/CODE] But it is giving error that x is null. Can …

Member Avatar for marjan_m
0
171
Member Avatar for arvindikchari

Hello I want that on the page visible to user, there is a text box, User can specify full path to an image in this text box, and once user clicks on apply button. then this image is set as the background image for a div How should this be …

Member Avatar for essential
0
145
Member Avatar for vasunttfshimoga
Member Avatar for sillyboy
0
66
Member Avatar for dmanw100

Hello! I'm just learning JavaScript and I was wondering if clients can view external JavaScript files? I would like to (potentially) use JavaScript to validate passwords to log into my site. Would this work/ is there a better way?

Member Avatar for almostbob
0
149
Member Avatar for ina_rizoaica

Hi, I have this form: [url]http://www.donorsforum.ro/forma_din_anunturi_ro.php[/url]. In the span field that looks like a textarea (Corp anunt) I can write in both IE and Firefox, but I can paste some text only in IE, in Firefox the box is just multiplying and remains empty. How can I fix this? I …

Member Avatar for katarey
0
175
Member Avatar for Ortal

I have this code, I know it has ASP in it but the ASP isnt giving me the hard time, the javascript is (I think...). Right now users can use this drop down menu to get to a certain page, but instead i need to have them type in a …

Member Avatar for essential
0
92
Member Avatar for jeffreyjs

Hi, I have this website which uses javascript to compute some mathematics... However, the script appear not to be working on firefox whereas the I.E and safari are working well, can someone help me with this, does Firefox have problems executing javascript? Thanks... the below code is where the problem …

Member Avatar for gurshan
0
244
Member Avatar for owkaye

I have a site under development that's going to use a JS-based drop down menu which will open when the visitor hovers over a single element called "menu" at the top of each page. Naturally the folks who have JS disabled are not going to be able to use this …

Member Avatar for almostbob
0
145
Member Avatar for romi123

Hi, I have got an arraylist with Profile objects where each profile object has a HashSet of Customers and each Customer in Hashset has further a HashSEt of movies. I have got it in JSP page through servlet like [code]<% ArrayList profiles = (ArrayList)request.getAttribute("profiles"); %>[/code] now i want to access …

Member Avatar for stephen84s
0
61
Member Avatar for tkoehn5751

I am trying to insert numbers from a form into two different URLs, and then launch both with a single click. My problem is getting the numbers to insert correctly. Below is what I have attempted. [COLOR="Red"]+'document.myurl.book.value'[/COLOR] Can anyone help me with this? [url]http://www.biblegateway.com/passage/?book_id=[/url][COLOR="Red"]2[/COLOR]&chapter=[COLOR="Green"]7[/COLOR]&version=9 _____________________________________________________ [code]<form name="myurl"> <input type="text" name="[COLOR="Red"]book[/COLOR]" …

Member Avatar for essential
0
78
Member Avatar for gagan22

Hi everyone, I have three drop down menu naming client,project and activity. But I want that when i select item in first drop down menu clent then only that project should come whichever comes under that client category and after selecting client and project , i want there should be …

Member Avatar for almostbob
0
85
Member Avatar for veledrom

Hi, When the mouse is over the small image in a table cell, the large image appears in other cell. Code below works fine in IE but not in other browsers. How can solve this issue? Thanks [code] <html> <head> <script language="javascript"> function changeBgImage(whichCell) { if (whichCell=="small_1") { document.getElementById("large").background="1l.gif"; } …

Member Avatar for veledrom
0
82
Member Avatar for nawabsheriff

[code=html]<html> <head> <script type="text/javascript"> function validate_required(field,alerttxt) { with (field) { if (value==null||value=="") {alert(alerttxt);return false;} else {return true} } }function validate_form(thisform) { with (thisform) { if (validate_required(email,"Email must be filled out!")==false) { email.focus(); return false; if (validate_required(city,"city fill it")==false) { city.focus(); return false; } } } } </script> </head><body> <form action="9.php" …

Member Avatar for aravelli
0
92
Member Avatar for millsy007

I have the code to show predictive text when a user enters a value, However I am struggling to change its behaviour. Currently it shows the suggestions seperately, I would like to alter it so its shows the value in the search box and then the user can select a …

Member Avatar for DangerDev
0
95
Member Avatar for gagan22

Hi everyone, I have written some code in which i am taking some input like this date from and date to field. But this calender is open into IE and i am unable to open it in Firefox. I am using code like this------------- [code=html]<tr id="companyname"> <td style="display: none;"></td> <td …

0
53
Member Avatar for eo868745

Hello, I'm having a bit of trouble here. I want to have two input boxes for entering numbers, a select box, and a button - "Compute". The select box contains options for "add", "subtract", "multiply" and "divide". When the "Compute" button is pressed, I want it to compute the arithmetic …

Member Avatar for ~s.o.s~
0
272
Member Avatar for rajeesh_rsn

Hi i had a big image in my web page. I need to do a preload in that image. Actually I am new to javascript. I tried many scripts but didnt work.. Please guide me ... Thanks Rajeesh

Member Avatar for almostbob
0
91
Member Avatar for visionsshift

time is of the essance, and i've been searching all day for a way to make a roll over button drop down menu. i'm using a table (for now), as my hunt for decent roll over button codes kept coming up with software marketing sites, or complicated script. i came …

Member Avatar for almostbob
0
147
Member Avatar for esedic

[B]Hi! I'm a complete newbie and I need some help. I have this piece of code which is opening link in new window: [CODE]<script type="text/javascript">//<![CDATA[ document.write('<a href="javascript:void window.open('<?php echo $product_flypage ?>');">'); document.write( '<?php echo ps_product::image_tag( $product_thumb_image, 'class="browseProductImage" target="_self" border="0" title="'.$product_name.'" alt="'.$product_name .'"' ) ?></a>' ); //]]> </script>[/CODE] How to change …

Member Avatar for phper
0
103
Member Avatar for windsdon

I am working on a java project and I need to add cookie in the browser to register a record of points of the person and turns it into a variable "a". I have everything working ... just missing it! the project is a play test of reflex and just …

Member Avatar for essential
0
81
Member Avatar for ypdev

Hi, I am trying to validate RadioButtonList (ASP.NET) using the following js function but for some reason it does not working properly. I can't get the ID of the control as I would be.. Can you help please? [CODE] <asp:RadioButtonList ID="T_selector" runat="server"> <asp:ListItem Value="1">Team1</asp:ListItem> <asp:ListItem Value="2">Team2</asp:ListItem> </asp:RadioButtonList> [/CODE] [CODE] <script …

Member Avatar for ypdev
-1
254
Member Avatar for Jake12

Sorry for the weird title, not sure how to describe it in one sentence. What I am trying to do is build a script that will read through an array of words and compare another word to the list to find where it would be placed alphabetically; between which two …

Member Avatar for Jake12
0
98
Member Avatar for jazz2k8

Hi Folks, i have created one list of years and months .. inserting that into the database...if i want to edit ...it is selecting the check box but problem is i have to scroll down forwhere it is selected...wherei want to autoscroll for that. please find the attachment... thanks in …

Member Avatar for ~s.o.s~
0
26
Member Avatar for sureronald

I am working on a web application and I would like to combine java script and php. I am using the window.confirm() function which gives a user an option to choose either yes or no. I am actually using this feature to end a users session so if user clicks …

Member Avatar for diafol
0
99
Member Avatar for Tom Tolleson

Hi! Would it be possible to have a JavaScript graphic in a web browser react to sounds from the users computer microphone? Thanks! Tom Tolleson

0
88
Member Avatar for kcgagne

Looking at [url]http://yellowspringsfarm.com/events-schedule.html[/url], in IE 7, if you run your cursor over the nav panel to open and close links, the text line height in the main content does a little dance. This does not happen if FireFox. I have no idea what I screwed up or where to look …

0
71
Member Avatar for gagan22

Hello everyone, I want to use two radio button on a html page (buy.html) . I want that when we click on first radio button then it will show one form which have two or three text box on that page (buy.html) . When we click on second radio button …

Member Avatar for mschroeder
0
140

The End.