15,121 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
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 … | |
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 … | |
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) { … | |
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 … | |
can anyone send me the javascript material or any link for material? | |
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 … | |
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 … | |
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 … | |
[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 | |
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 | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
:'( 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 … | |
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 … | |
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 | |
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? | |
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 … | |
How can i Import contact using javascript in jsp. Regards, sm3128 | |
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 | |
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 … | |
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 … |
The End.