15,127 Topics

Member Avatar for
Member Avatar for miko85

The code below disable whole dropdownlist when select. How do i only disable and grey out certain values in the dropdownlist? function ViewPersonalinfoBoxes(fm) { if (fm.PolicyType.value=="VEHICLE" || fm.PolicyType.value=="VEHICLENO") { alert('System not available!'); document.RegForm.PolicyType.disabled = true; } } * RegForm is the form name * PolicyType is the dropdownlist

Member Avatar for Luckychap
0
118
Member Avatar for servis

Hellow, Can we prevent exposing java script and css in source code of web page on the user machine??? please if anybody know about it???? shuja

Member Avatar for jbennet
0
190
Member Avatar for firebirds98

I am a beginner at this stuff so its probably something easy im asking. However I am trying to pass an array of data to a function and I keep getting this error: missing ) after argument list [IMG]http://astro.temple.edu/~tua11553/error.bmp[/IMG] The "7 For All Mankind Relaxed Vintage Honululu Denim" is one …

Member Avatar for Luckychap
0
86
Member Avatar for sayeo87

Hi, I'm new to the UI side of AJAX, and I was wondering if there was any AJAX framework (or an extension to the framework) which has the functionality like this: [url]http://tool-man.org/examples/sorting.html[/url] (scroll down to the section "Example: Sorting in two dimensions") Thanks, Suan

Member Avatar for Luckychap
0
67
Member Avatar for javlonchik

Hi folks, I was really excited to use lightwindow AJAX modules that it worked on local server. But once we made it live on our actual server, it's not rendering. It opens the AJAX window and makes the entire page black. Please see attached image for visual explanation. We are …

Member Avatar for javlonchik
0
75
Member Avatar for egbert

Hi everyone I've been looking at some code from the 'Ajax for Dummies' book (page 67). I'm running the code samples on an XAMPP installation with both files in the C:\xampp\htdocs folder which (appears) to have been set up as 'localhost'. However, there are 3 odd things about this code. …

Member Avatar for brechtjah
0
3K
Member Avatar for elbuhleini

Hi, N00b as I am, I have a little problem: I have a gamesite. When a user clicks on a game, a Js script has to check if he has our app installed and if not, it redirects him to our landing page, where he can install that app. This …

Member Avatar for brechtjah
0
109
Member Avatar for squarkman

Is there a way to see why this particular javascript validator is not affecting the submission of this form. It submits with all fields empty. Here's the simple code [code=syntax] <?php if(isset($_POST["Submit"])) { require("c:\php\includes\class.phpmailer.php"); $mail = new PHPMailer(); $toaddress = "rocky@airedale911.org"; //Change this to the email address you will be …

Member Avatar for brechtjah
0
295
Member Avatar for baby_1

Hello people i created this code: <script langauge=javascript> function baby(a,b) { document.p.text=a; document.p.cat[b].checked=true; } </script> <form name="p" > <input type="checkbox" name="cat[10]"> <input type="checkbox" name="cat[11]"> <input type="text" name="text"> </form> <a href="javascript:baby('Hello',10);">Click Here</a> when i click on The "Click Here" the textbox show me Hello but the checkbox doesn't work and dosen't …

Member Avatar for kb.net
0
146
Member Avatar for mlohokare

Hi Everyone, I am Mahesh. I am new in Javascript. I am creating a web page using XSLT. But for that I need help for javascript. Problem Statement ***************************************** There are several <img>s in output html page. images id are randomly generated using xslt. in that img tag there is …

Member Avatar for mlohokare
0
267
Member Avatar for woodson

Hi, I have the string like [code]var test="<NewDataSet> <Table1> <S_x0020_No>1</S_x0020_No> <Defect_x0020_Causes>None</Defect_x0020_Causes> <Defect_x0020_Count>2614</Defect_x0020_Count> <Percentage>63.22</Percentage> <Cumulative_x0020_Percentage>63.22</Cumulative_x0020_Percentage> </Table1> </NewDataSet>"..[/code] So.i would like to convert the string into Xml document.. any idea.. Thanks & Regards, S.Sajan.

Member Avatar for digital-ether
0
69
Member Avatar for cwarn23

Hi and I am trying to embed a modified version of a javascript/css script from [URL="http://www.javascriptkit.com/script/script2/dbmenu/#"]http://www.javascriptkit.com/script/script2/dbmenu/#[/URL] but since have made a few problems. At the moment, my script is only compatible with Internet Explorer 7 (not compatible with earlier versions) and can anybody help me debug the top menu at …

Member Avatar for cwarn23
0
92
Member Avatar for brechtjah

I'm trying to create a website navigation with moving images. However, I seem to have a bit problems with it as it bugs out sometimes. This is my code: [code=javascript] <script type="text/javascript"></script> var goDownH = 300; var goUpH = 320; function goDown(id) { if(goDownH < 320) { goDownH = goDownH …

Member Avatar for Luckychap
0
171
Member Avatar for kaushik259106

Guys, I was going through the book called Ajax for Dummies and got the following example. [CODE]<html> <head> <title>Ajax at work</title> <script language = "javascript"> var XMLHttpRequestObject = false; if (window.XMLHttpRequest) { XMLHttpRequestObject = new XMLHttpRequest(); } else if (window.ActiveXObject) { XMLHttpRequestObject = new ActiveXObject(“Microsoft.XMLHTTP”); } function getData(dataSource, divID) { …

Member Avatar for egbert
0
195
Member Avatar for Sp1nn3y

well i dont preffer to add any code on here but heres my problem.. i'm using googles adsense and am trying to put a javascript banner on my website.. im using frontpage and i paste the scripting into the html and save and publish the site.. it shows nothing? i …

Member Avatar for brechtjah
0
89
Member Avatar for sivak
Member Avatar for serkan sendur
0
72
Member Avatar for jproducer

Okay, i just want to get this out of the way. I do know that this subject has been tackled a couple times and I'm not cutting to the end without reading what has been already written. I can't seem to find the explanation that i'm looking for and a …

Member Avatar for jproducer
0
150
Member Avatar for hinodae

I'm looking for a way to downsize the load of images on a page. My current template provides the user with a tab based option set for different items that can be ordered, the entire set is currently set as 1 form (i.e the quantity input fields), but on page …

Member Avatar for fizzix
0
94
Member Avatar for besktrap

Hopefully this is the correct place to post this, so here ya go. I'm learning HTML and just had a few questions. I was using some tutorials from w3schools.com, and I came across Event Attributes. So I have this textbox, and I want it, when clicked, to clear the the …

Member Avatar for essential
0
1K
Member Avatar for wad

[CODE]<script> function asd(){ var msg = document.getElementById('email'); alert(msg); } </script> <form> <input type='text' id="email"/> <input type='button' onclick='asd()' value='<' /> </form>[/CODE] onclike return that message Object HTML Input Element

Member Avatar for freeonlinedatin
0
90
Member Avatar for krishna168

Hi , I work in software company as per my job i had to place Ad in one website, I was able to place Ads on the application by using IE Explorer but it coming error when i tried to place ad using mozila firefox,Can u pls help me

Member Avatar for Luckychap
0
35
Member Avatar for queenc

hi i have a text area where i want to limit the number of charactersin each line. for example if the user enters more than 50 caharacters it should automatically move the cursor to the next line thanks

Member Avatar for queenc
0
88
Member Avatar for Q8iEnG

Hi guys.. :) I'm still on my way on learning and seeing examples of JavaScript Codes Today I saw this code (which depends on external file called *banner.js*) [CODE] <!-- Paste this code into an external JavaScript file named: banner.js.js --> /* This script and many more are available free …

Member Avatar for Q8iEnG
0
178
Member Avatar for mariappan.s

sir.. in asp.net, i want to search a data in gridview regarding to our keypress search_text box.. am using mysql database.. can we write mysql database connection in javascript n want to write a search query .. can we do gridview databind using javascript.. if anybody knows, pls reply to …

1
66
Member Avatar for stealthmode

Have I got this right? I have a massive form with about 150 text fields with about 10 min of which need to be filled in. If I add a .js file and my .css file to the server that checks the form fields as the user fills it in …

Member Avatar for Luckychap
0
101
Member Avatar for jobojo

I was wondering if someone could explain to me how to merge two arrays so that one is not simply appended to the other, but they need to be merged into one sorted array. I could simply append the two arrays and then sort the result, but that would be …

Member Avatar for jobojo
0
180
Member Avatar for Yipyo

I've got a simple function that that toggles the display of certain form fields. When I refresh the page, or post back, the display.value goes back to the original state. I don't know how to keep it on the selected state for refreshes and post backs. Please help. It's driving …

Member Avatar for Yipyo
0
159
Member Avatar for Omer.Registry

:'( Hi to all I'm new in the forum and this is my first post, I hope, you can help me with the following problem, I have a blank page with a flash object (swf) that plays a FLV movie. I'm trying to remove and return the object when the …

Member Avatar for Luckychap
0
125
Member Avatar for frank754

Normally, arriving at a PHP page with a data entry web form, you would have to click on any field you wish to change to go into data entry mode (the first field or any successive one), and then you can tab between fields (TAB to go forward or ALT-TAB …

Member Avatar for frank754
0
141
Member Avatar for vikaspa

DEar All I want to restrict user to upload image files before upload is this possible using java script ? Example : if user tries to upload a file of size more than 300KB he should be warned Please help Please Help

0
85

The End.