17,115 Topics

Member Avatar for
Member Avatar for tonyledenko

Hello, I have discovered that my flash banner disappears when the menu above it is mouseovered. Anyway, I was wondering if someone could help me with a sniffer script. Example, if the user is on a safari browser then swap out the flash with a static image. Here is my …

0
65
Member Avatar for kavithakesav

Hi Everybody, I need some hlep for my website. Whenever i will open my website one pop is required. Can anyone tell me how to do.... please. Thanks in Advance. KavithaKesav

Member Avatar for kavithakesav
0
242
Member Avatar for danishbacker

I am using a a customized google map which is used to show properties for sale in a specific area. There tree level for this ie by Country, State and City and is done using list menu. It is working properly, It is showing markers when any item is selected. …

0
82
Member Avatar for mansi sharma

I know how to access Server Side Session variable at client side(JS)..But i want to know how to Set Sessin varable at Clinet side(JS) & access its value at Server side..If somebody knows help me out!!!

Member Avatar for danishbacker
0
51
Member Avatar for alfalisyada

hi..i need some ideas...I want to calculate student fees payment on my php page, but my coding here its not working. One more thing is when selected item click and its can display value of the item in other textbox(ex: if course Diploma Multimedia is selected, then the course fee …

Member Avatar for danishbacker
0
2K
Member Avatar for raveeshlawrance

I created a button for table cell using innerHTML. it is working perfectly in mozilla. But it is now working inn IE. Button is now displaying in IE. Please help me

Member Avatar for raveeshlawrance
0
12K
Member Avatar for Ruizz

How to display error message when string entered together with the characters outside the A-Z a-z 0-9?

Member Avatar for essential
0
71
Member Avatar for tirso

Hi to all I want to get the number of users logged in and display it in the header. initially I want to put a key field for the user accounts and if they logged in then calculate that key. but my question is how can I access my database …

Member Avatar for sacarias40
0
116
Member Avatar for humipine

I am working on a project with `asp.net` and `vb.net` language system. Now I made a table on the asp file, and before clicking on a button "update", by JavaScript, I would like to get all the string data written in the text boxes each placed inside a cell of …

Member Avatar for essential
0
231
Member Avatar for emilio

hi my html form contains a table tag <table id="MainTable">. i would like to populate this table using a javascript function. my probllem is that i created a table that contains another table inside on of the <td> tags. i tried to write the most basic code: [CODE=javascript]var myTable = …

Member Avatar for serkan sendur
0
3K
Member Avatar for rajeesh_rsn

Hi i had a php page and some mysql connections in that page. I need to show a image named loading.gif until the page loads completely.. I tried many but cant... Please any one give an idea... Please Thanks Rajeesh

Member Avatar for essential
0
53
Member Avatar for jeffc418

Hi all, Say there are two checkboxes on a page (test1 and test2), I want to write a JavaScript code that disables one if the other is checked. Here's what I wrote that didn't work: [CODE]<input type="checkbox" name="test1" <script language="Javascript">if (test2.checked = true){document.write('DISABLED');}</script>>[/CODE] Please help :D!!! Thanks a million! Jeff

Member Avatar for essential
0
3K
Member Avatar for cguan_77

hi guys, how to code this vbscript in javascript? thanks.. [code] <script language=vbscript> <!-- Sub CallMenu(n,isHidden) document.all("menu" & n).style.visibility = isHidden End Sub //--> </script>[/code]

Member Avatar for cguan_77
0
90
Member Avatar for OmriN

Hi everybody, i'm having a bit of a problem when improting excel Data into ASP.Net Control using JavaScript. The Problem is, if the Excel cell format is Date then after i use the javascript and import the cell into the control the value become to a string whice the .NET …

Member Avatar for ding569
0
110
Member Avatar for Leandro-AL

Hi all. I have a small script that creates and removes elements from an html form. This script also renames some elements upon deletion of another element. But this does not seem to be working properly. The problem is that i can't really figure it out so i was wondering …

Member Avatar for serkan sendur
0
104
Member Avatar for wwwmadeasy

hello every one i was just wondring if someone can help me to show me how i can design a menu like in the website [url]http://www.comparethemarket.com/[/url] i mean the middel menu where u move the mouse cursor and the contet change....

Member Avatar for serkan sendur
0
745
Member Avatar for santhanalakshmi

Hi, I am writing a prgram in php.when i click "log out "button ,it redirects to my first page "index.php".(username & password) and then by clicking back button in the browser ,it showing all my previous pages that i visited. I want to disable back button in the browser (javascript …

Member Avatar for serkan sendur
0
131
Member Avatar for rouse

I found a demo version of a jQuery accordion menu that I liked. I want to implement it on my soon to be published home page, What it does not do is that it pushes and pulls the content below it, as down as the accordion expands and contracts. I …

Member Avatar for rouse
0
107
Member Avatar for veledrom

Hi, I cannot get the full physcial path of a selected file in Firefox. Code below works fine in IE. Is there other way to get full path in Firefox as well? Thanks [code] function getPath() { alert (document.formUpload.file.value); } <form name="formUpload" enctype="multipart/form-data"> Filename:<input type="file" name="file" id="file" onChange="getPath();" /> <input …

Member Avatar for veledrom
0
117
Member Avatar for aashishn86

[code] <script type="text/javascript"> function validatePID(inputField , helpText) { if(inputField.value.length != 9) { if(helpText != null) { helpText.innerHTML = "Please enter a 9 digit Number"; return false; } else if( isNaN(inputField.value)) { if(helpText != null) helpText.innerHTML ="Please enter a number "; return false; } else { if(helpText != null) helpText.innerHTML =" …

Member Avatar for aashishn86
0
102
Member Avatar for kg_ally

I've a perfect working code in IE but for some reason its not working in Fire fox...can anyone suggest why?

Member Avatar for mschroeder
0
133
Member Avatar for Sappster

Hello all. Got a slightly strange problem, which might be a little dificult to explain. I have some AJAX code which uses javascript to call a php file that queries a database and returns data. Basically I have a problem with the order that things get executed once they are …

0
40
Member Avatar for lifeworks

Hi I have the following CSS menu, which uses a js to create the menu on Mouseover... I want to add a delay onMouseOut... I have tried the setTimeout function, but am having some trouble getting it to work... the submenu just stays out... [code=javascript] var menuids=new Array("verticalmenu") //Enter id(s) …

Member Avatar for nav33n
0
254
Member Avatar for serkan sendur

i want to have a big hidden table, then i will have a div and that div will be located on that table, only the intersection of the div and the table will be visible. is that possible?

Member Avatar for Rashakil Fol
0
55
Member Avatar for serkan sendur

hi guys, i have one main page with two iframe elements, these two iframe elements is assigned same source file as follows : mainpage.htm : [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>Untitled Page</title> </head> <body> <table> <tr> <td> <iframe id="leftPane" src="iframepage.htm" width="300" height="800"></iframe> </td> <td> …

Member Avatar for Rashakil Fol
0
93
Member Avatar for rajeesh_rsn

Hi I had a form validation script with me. that is [ICODE]<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(contact) { with (contact) { if (validate_required(username,"Userame must be filled out!")==false) {username.focus();return false;} } } </script> </head> <body> <form action="password_process.php" …

Member Avatar for essential
0
91
Member Avatar for aashishn86

Hi!! i want to validate a list box onthe onblur event and if no value is selected , display a message on the left using <span> and innerHTML here's what i have written [code] <html> <head> <script type="text/javascript"> function validateCB() { if(document.rec.loc.options.selectedIndex = = 0) { alert(" hi"); return false; …

Member Avatar for nav33n
0
97
Member Avatar for Leandro-AL

Hello! I have a small script which dynamically creates select tags (they are placed within divs). Each select has a [B]+[/B] and [B]-[/B] sign next to it, and if you click the [B]+[/B] it adds another select below that one, or if you click the [B]-[/B], it removes that current …

Member Avatar for Leandro-AL
0
149
Member Avatar for myth3_16

Hi All, I was wondering if anyone could help me with this one. If you want to see what I have at the moment goto [url]http://www.personally-yours.co.uk/indev/test/state_dropdown.php[/url] This page has two drop downs, the bottom one is populated depending on what is selected in the top one. What I want to …

Member Avatar for anish.anick
0
129
Member Avatar for Syakoban

Hi, I'm not much more than a[I] jquery cut and paste - change a simple user definition[/I], guy. I can't write javascript... So, I was trying to marry two jquery "animation effects" in one page and apparently have a conflict. The two things work separately but it seems that there …

0
53
Member Avatar for aashishn86

hii !! i am using the onblur event for form validation to validate that a field should not be empty i am using the following function [code] <scirpt type="text/javascript"> function isEmpty(field) { if ( field.("<name from form>").value = ' '); alert("empty field"); } </scirpt> [/code] the problem is the event …

0
49
Member Avatar for somesh_nag

Hi, I want to display a java script confirmation box before browser session is timeout with message as "Your session is going to timeout in 2 mins. Do you want to extend session?", if user is clicked on "Ok" button within the session timeout period, session should be extend. If …

Member Avatar for ravinder007
0
1K
Member Avatar for jeffc418

Hey all! Pretty simple I hope :D I have a website that absolutely requires JavaScript to be enabled for it to work. How can I make it so that if a user with JavaScript disabled tries to view my site they are redirected to an error message? Thanks!

Member Avatar for jeffc418
0
108
Member Avatar for jumbla

I have a form that sends the value of my input box to search.php where I cature it using POST: [code]<form method="post" name="boxsearchform" action="search.php"> <input name="INPUT" id="INPUT" type="text" value="" /> <input type="image" name="search" src="searchboxgo.gif" /> <select name="choosevar"> <option value="title">Title</option> <option value="colour">Colour</option> </select> </form>[/code] What I would like is to use …

Member Avatar for essential
0
129
Member Avatar for emilio

hi my page contains a button with a javascript click event. when i click the button i want to check if the page is valid, and if the answer is yes, to perform the event function. if the page is not valid i want the error message to show in …

Member Avatar for emilio
0
73
Member Avatar for millsy007

I have recently changed my page so my date that is held in a textbox is in the European Format, ie DD/MM/YYYY The problem is all of my other javascript functions expect it in the 'normal' format. Is there a way I can change the format I now have it …

Member Avatar for essential
0
106
Member Avatar for GeoffC

I am using the following to set up a textarea for the input of the body of an email. [code] <td valign="top"><textarea name="zbody" id = "zbody" class="stylefont_textarea" tabindex = "3" onfocus="gotostart()" cols="40" rows="10"><?php echo $sig?></textarea></td> [/code] the php inserts a "signature" into the textarea. When I tab to it, the …

Member Avatar for GeoffC
0
85
Member Avatar for serkan sendur

is there anyway of distinguishing between whether the button is clicked directly by a mouse or its click event has been triggered logically? [code]<input type="button" id="someID" value="dene" onclick="alert('something');" /> <input type="button" value="dene2" id ="someID2" onclick="document.getElementById('someID').click()" />[/code] now guys i want some kind of thing : when you directly click on …

Member Avatar for serkan sendur
0
123
Member Avatar for jzimmerman

Hello, this may not be the correct forum but I'll start here. I have a system that retrieves information from a database. I want to have some of that information hidden until a user checks a box to display it. The script is here: [code] <script type="text/javascript" language="JavaScript"> function HidePart(d) …

Member Avatar for serkan sendur
0
228
Member Avatar for sadhu

here i have small issue. pls sort it out 4 me soon n be thankful 4 u [code=html]<div id="div1"> <input type="radio" name="radio" id="radio" value="150" onclick="return displayCost(this.value);" /> </div> <div id="div2"> <select name="select2" size="1" id="select2" onchange="return calculateCost(this.value);"> <option>1</option> <option>2</option> <option>3</option> <option>4</option> </select>Pages </div>[/code] here there is no submit button or form. …

Member Avatar for serkan sendur
0
82
Member Avatar for millsy007

I have a javascript calendar, It is working fine, I have set all the styles, but have now realised that it displays in american date format ie Month Day Year I want it to display in European Format ie Day Month Year I was hoping there would be a way …

0
53
Member Avatar for dpd

Hi all, I'm not overly proficient at Javascript, but have fumbled my way through some tutorials to come up with the following code to create a tab mechanism. It works perfectly in Firefox, Safari, Chrome and IE8. However, in IE6 and IE7 it fails to operate as of the 'for …

Member Avatar for serkan sendur
0
112
Member Avatar for Lib Auth

Hello Daniweb Community, I recently visited the Runescape.com website as per requested by a friend, and noticed there advertisements. They have a small box with a ? that once clicked opens a new window specifying the ad number. How do you do this? Sorry, if it isn't created with javascript. …

Member Avatar for serkan sendur
0
65
Member Avatar for BimanD

I am a new JavaScript user. My teacher told me to display my name using javaScript i solvd it using (document.write) command. and then saving it in(.HTML) format.Now my teacher told me to do the above problm using an external .js file. Plz someone help me to solv this problem. …

Member Avatar for serkan sendur
0
78
Member Avatar for serkan sendur

hi guys, i have a javascript application which compares two xml files, to show that comparison i load two files on two iframes and when user click on node(i rendered the nodes to span elements) i run a comparison function, the problem is i want to disable onclick event of …

Member Avatar for serkan sendur
0
322
Member Avatar for vedmack

Hi I built a html page with a single button which suppose to open new window which shows XML file... I want to disable right click mouse in the "new window" which is being opened after button hit... I do know how to disable the right click inside an ordinary …

Member Avatar for HTMLExpert
0
806
Member Avatar for anusumesh

Hi, One of our customer has following requirement: When user login to web site, some key should be added to client side registry and when he logs off, then that key should be deleted from registry. I know that editing client side registry from server side is not safe but …

0
59
Member Avatar for rebsysue

Hi. I am just learning javascript and am making a website for my friend's photography. I've got a working slide show now where you can click next or previous to display image after image in sequence. I followed this tutorial: [url]http://www.webmonkey.com/tutorial/Make_a_JavaScript_Slideshow[/url] Now I would like to also display a caption …

Member Avatar for cubekid
0
79
Member Avatar for Aradon

Hi, i'm trying to use the divviewer image viewer as found here - [url]http://www.javascriptkit.com/script/script2/divviewer.shtml[/url] but i cant seem to get it to work properly, as seen here - [url]www.ryanscarry.com/port_digiart/photo_retouch/models/rebecca_burgess/Copy_of_portfolio_photo_rebeccaburgess.htm[/url] any ideas please? Thanks

Member Avatar for Aradon
0
84
Member Avatar for alexgv14

I have this gallery that loops through images in a folder. But you have to set what images. Is there a way that I can make it loop though as many images that are in this folder maybe using a for loop or something. [code] var mygallery = new simpleGallery({ …

Member Avatar for alexgv14
0
142

The End.