15,698 Topics

Member Avatar for
Member Avatar for theimben

Firstly, can I just say. I know this is really badly written but its to the best of my ability. Right, on index.php it makes a query which should go to search.php. Search.php handles everything. It makes a request to ajax.php which makes the request from the database. The problem …

Member Avatar for cwarn23
0
96
Member Avatar for theimben

Im using vBulletin and Im making a little script which needs to integrate with it. But due to vBulletins lack of PHP plugin support I have to use a client side language to make it work. So I have this script, its queries a database and has pagination. I want …

Member Avatar for theimben
0
66
Member Avatar for arvindikchari

Hello, I have a script which uses a colorpicker in which the user can select a color, and in the preview section the color of one div is changed to this color value. This is done by a javascript function of the color picker. called setcolor. The code for this …

Member Avatar for essential
0
248
Member Avatar for laxminarayanaou

There is a text box in html page in that we type any id (i.e string) then automatically it show a drop down list bellow the text box. And that list having ids those r retrieving from Mysql database table. (Totally it is like igoogle search box and button) please …

Member Avatar for laxminarayanaou
0
86
Member Avatar for ktd

Ok guys, I need some help with this one. I've been beating my head for a day now trying to get this code to work and have gotten nowhere. Let me give you an idea how this web app works: What this does is create a ticket with a date …

Member Avatar for scrager
0
133
Member Avatar for progurammaar

what am i doing wrong, it does not echo "hello"......ths page is unt.php [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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <script type="text/javascript"> var ht=false; if(navigator.appName=="Microsoft Internet Explorer") { ht=new ActivxObject("Microsoft.XMLHTTP"); } else { ht=new XMLHttpRequest(); } function chkLogin() { …

0
180
Member Avatar for arunmozhi

Page is Served successfully but showing error in the status bar.. of the browser... Purpose of the Script is to load an Gif image before page Loads.. Here is the Script.. [code=html]<script type="text/javascript" language="javascript"> /// To load the gif before page servers.. while delaying.. if(document.getElementById) { // IE 5 and …

Member Avatar for mschroeder
0
102
Member Avatar for viron

i want something like timer that we see in rapidshare free usage that makes user to wait for sometime before the download link appears please give me some code eg

Member Avatar for mschroeder
0
104
Member Avatar for serkan sendur

Compared to javascript's power, i think xslt is so weak. i prefer parsing xml document to whatever html representation using javascript and i cant see any use of using xslt for that matter. What do you think?

Member Avatar for fpmurphy
0
156
Member Avatar for newsteve

Hi, On a rollover I am looking to change an image AND have a sound play. I was hoping to do this with javascript. The image is done but the sound - I have been looking into it (sound with javascript) and it seems like this is a thing of …

Member Avatar for hoogi
0
115
Member Avatar for Potato.Head

Hi to all I'm trying to get an iframe and call a function that is define inside the iframe, every thing is working OK in IE and Safari, when I try to do the same in Firefox is not working. The followoing is the code I'm using, any ideas, how …

Member Avatar for scrager
0
145
Member Avatar for netsperience

I created a prototype.js/window.js "Window" pseudo window div with another page from the same directory loaded in its iframe I could not put a button/link on the iframe doc that would close it by calling functions in the parent window I used "window.parent" "parent" alone "top" but the only thing …

Member Avatar for scrager
0
511
Member Avatar for hbk_star2006

Hello friends!! Please help me to remove this error from my webpage. Actually i have downloaded a javascript scrolling images code from a website. This code works fine when i used it alone in a webpage. But when i insert this code in my webpage, it works fine , but …

Member Avatar for scrager
0
76
Member Avatar for sid78669

hey, I want to write a small snipet which will first prompt the user to input a javascript command, and then execute that command on the current page. Is there any way to do it?? say the prompt is like: [CODE=javascript]javascript: prompt();[/CODE] (its working) and the command is : [CODE=javascript]javascript: …

Member Avatar for scrager
0
455
Member Avatar for FlashCreations

Hey Everyone! I have come across a very interesting problem that seems to be impossible to solve. Basically a web application that I am working on relies on a JavaScript function called go to change the input named view to the page name and submit the form. This form's type …

Member Avatar for mschroeder
0
371
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
144
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
561
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
113
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
296
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
114
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
71
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
61
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 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
144
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
144
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
60
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
77
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

The End.