15,121 Topics

Member Avatar for
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
294
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
266
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
91
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
193
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
179
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
156
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
124
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
Member Avatar for tuse

Hi! I am using a code to echo a row in a database table using ajax with PHP. The code is working correctly. The ajax will send the response text as follows- [code] document.getElementById('outputText').innerHTML = httpObject.responseText; [/code] My question is how can I retrieve individual fields into separate Id's?

Member Avatar for tuse
0
174
Member Avatar for dinilkarun

Hi, I have a checkbox on click of which I'm calling a JavaScript function to disable another checkbox. The onClick event is not working in both Firefox/IE. I am capturing onChange event of the checkbox1 as of now which works in Firefox, but not working in IE. Please suggest a …

Member Avatar for ~s.o.s~
0
98
Member Avatar for sm3128
Member Avatar for aneeshkurup

Hai all, <span >Test_Ajax</span> On mouse over of Test_Ajax I want display a tooltip which display the value of a variable (which is declered in php file). For doing this task how should I co-ordinate ajax, js, php and html files

Member Avatar for ~s.o.s~
0
236
Member Avatar for ddevice

I'm trying to display an animated GIF while submitting a form. This works fine in Internet Explorer, but not in FireFox (3.0). Firefox only shows the animated GIF and never submits the form. [B]Here's my script:[/B] <script language=javascript type="text/javascript"> function sendRequest(reqAction) { document.CounselOptionForm.Action_Button.value = reqAction; document.CounselOptionForm.submit(); return true; } function …

Member Avatar for ~s.o.s~
0
78
Member Avatar for aparnesh

I have a database of book titles where string values are stored. A php script reads the data and displays them. The problem is happening when a Book title contains the ' character - as apostrophy let's say. One example is the title "The Devil's Alternative". So when I write …

Member Avatar for aparnesh
0
140

The End.