17,115 Topics
![]() | |
when i click on a submit button it should take me to get.php but it doesn't whats wrong? [CODE] <form enctype='multipart/form-data' action='' method='POST' name='form'> <div id=$counter><input type='submit' name='webpage' value='Add Webpage' onClick='return changeAction1(this);' /></div> </form> [/CODE] [CODE]<script type="text/javascript"> function changeAction1(form) { form.action = "get.php" } function changeAction2(form) { form.action = "insert9x.php" … ![]() | |
view source code of external files in html like *.js and *.css For example: In this page I am Posting to, there are 24 *.js files. They are loaded but you can't see them. I would like to view some of these external javascript files for study. Not necessarily on … ![]() | |
I have access database and uploaded this file in my ftp server. Please let me know the javascript code to access this database file from ftp server. | |
hello... i am doing login verification. there is tabs in index page thats why i am choosen this. actually after entering the values of email and password how to check that values are in database or not using javascript. and i will show message in alert box. this is my … | |
Hi! I created a button and a textbox using javascript, now i want to make that when my button is pressed it gets the value from my textbox, and puts it in another textbox (got that sorted) only thing i cant find anywhere is how to make a button to … | |
I've been asked to create a Course class with the following attributes : Course code string course name string roster student[] count int I know how to set first 2 and the last one, but I am having problems with the aaray one. This is what i've done so far: … | |
Hey Guys, I have a theoretical question, I can't really post my code. But I have four results from reads to a database using php. I then read from an xml file using javascript using a loop. I am basically creating a chart of four variables with several different values … | |
![]() | Hey guys I know there is a similar post on here but it didn't really give me any actual help on this topic: It seems that I have the correct regular expressions in this however it doesn't want to follow my freaking instructions can you guys maybe show me where … ![]() |
i need something simple without much overhead to read plain text (tab separated, columns & rows of data) .. and with the data i need to generate some charts (plot, bar, etc) better be interactive since javascript doesn't need webserver like php .... setup is simple .. and can be … | |
Hi guys, I'm using ajax to display the xml file. On my html i put [CODE]<body onload="sendRequest(Display)">[/CODE] so everytime users go to the main.html, all the information in xml will be displayed after transformed by XSL Now the problem is it gets the error [I]Display is not defined[/I] While i … | |
Hi! I want to insert an elelent (textbox) under another textbox that already exists, and then retriever the value from it for later use i tried with this, but no success: [CODE]function newtxtbox(){ var box = document.createElement("<INPUT TYPE='TEXT' NAME='RADIOTEST' VALUE='First Choice'>") document.body.insertBefore(box, existingbox); } [/CODE] Thanks in advance! | |
Hello, I have a gridview in my project (asp.net , C# ) . I want to apply the Jquery to this gridview thereby adding various functionalities to the gridview in a easy way. I found out that in javascript i need to add a plugin ( which i d/w thru … | |
Hi frnds, I m using the below code...it is working fine...nothing prob in it.. just i want change the visibility of that div....here by default div is visible...but i want default div should be hidden.....plz look into the below code.. [CODE]<html> <head> <script language="javascript" type="text/javascript"> function showHideDiv() { var divstyle … ![]() | |
Hi! I want to write some text to a textbox (using a greasemonkey script to be exact...) but i cant get the right element (textbox) as it somehow doesnt have an id. This is source that is relevant for the textbox (from original page) [CODE] <input name="WebGridBuilder$ctl04$ctl01" type="text" value="something" maxlength="32767" … | |
HI, will u please tell me how we can check java installation on system? I have used following code.... if(navigator.javaEnabled()) { document.write("JAVA available"); } else { document.write("No JAVA !!!"); } Above code displays the "JAVA available" eventhough I have uninstalled the java from my system. Also I have checked the … | |
Hello, I am working on a flash website, currently there is a java script function that opens a popup window in my flash movie. This function works fine in Firefox, however does not work in Internet explorer, any ideas? Frame Code [code] openWinCentre = function (url, winName, w, h, toolbar, … | |
[B]Hai,[/B] What i want to do is change background color from yellow to transparent or back to original background color: What i have following javascript code is change color from yellow to blue. [CODE]$('#' + ' something here').animate( { backgroundColor: 'yellow' }, 500).animate( { backgroundColor: "blue" }, 1000);[/CODE] [B]Please advice.[/B] … | |
Hi, I am running the scripts below which should return a string containing a URL. So far, it cannot find the form contents in Firefox, but displays the non-dynamic data such as [I]?Location=[/I]. It won't work at all in IE. Can any one help? This is the form: [CODE] <!DOCTYPE … | |
can anyone tell me why this is getting a runtime error? [code=html] <%@ Page Language="VB" ContentType="text/html" ResponseEncoding="windows-1251" %> <%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.Data.Odbc" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <%@ Register TagPrefix="uc1" TagName="links1" Src="/includes/_header.ascx" %> <%@ Register TagPrefix="uc2" TagName="links2" Src="/includes/_nav.ascx" %> <%@ Register TagPrefix="uc3" TagName="links3" … | |
Hi, I am making a form validator which has some field like "credit card number" and "credit card security code" I need to make sure that those fields only contain digit, no alphabet and any others characters like "." , "," , etc. I don't have any idea on how … | |
Hi all I'm having a major problem here. Before you read this and think "that's a stupid mistake to make", I'm on an internship and it's my first "real" website. ( I experimented before, but it's the first time I have to make a "finished product) So I hope for … | |
I am not really familiar with the whole [B]SEO[/B] process but I recently hired someone at <snip> to do the whole process for me. The person there made me know that it is not smart to include a lot of my content in my [B]Javascript[/B] files as they are not … | |
Greetings; New to (ClientSide) javascript and HTA: 1) Does ajax ever come into play with (ClientSide) javascript ? 2) I would like to read a txt file into a TextArea. Example? 3) I would like to save or saveas from TextArea. Example? Thanks for your help! ...vmars | |
sir , i have created a jsp page . inbetween which i write javascript code . code is acessing xml file(i attached also the xml file and i placed that file in apache .i m entering the path of xml in text bob of jsp page) using ajax and parsing … | |
Hey everyone. I wanted to use an HTTP reference within an image tag inside an XML file as opposed to having the image in a folder . Is that feasible? | |
I don't get what's wrong. The text box is there and the button is there, but nothing's happening. [CODE]<html> <head> <title>Test JavaScript</title> <script> var col=3; fucntion randy() { col++; col%=10; col+=4; col*=45; col/=10; } function funny(num) { if(num=>10){num=num%10;} if(num>=5){num=num-5;} if(num==0) {return "Marry had a little lamb.";} else if(num==1) {return "Ba … ![]() | |
I am stumped on a javascript that is driving me crazy. I would really appreciate any help. The purpose of the website is to get the birthdate and wedding date from the user. Display the age, number of years married and the days of the week that they were born … ![]() | |
Hi all, I'm trying my first bit of jQuery code but am familiar with Java programming. I'm trying to create a function that loads a div with an image in it, which will fade in and then after 4 seconds move onto the next image. I want it to create … ![]() | |
Hi guys, I have a xml file that contains all the articles with few authors for each of them. something like this; [QUOTE]<authors> <author> <surname>Middleton</surname> <firstname>Karen L.</firstname> </author> <author> <surname>Chambers</surname> <firstname>Valrie</firstname> </author> </authors>[/QUOTE] I can display them in HTML well the problem is, the way I want to display is … ![]() | |
i have made a popup menu in fireworks cs3 its working fine in all browsers the problem is that its hiding under the flash features bar as shown in the image where in firefox its working fine what should i do? Internet explorer [IMG]http://i44.tinypic.com/2mhczr5.jpg[/IMG] Firefox [IMG]http://i43.tinypic.com/30tm3qv.jpg[/IMG] Coding: [code]<!DOCTYPE html PUBLIC … ![]() | |
Hi, i am making a payment detail form which required user to put the detail of their credit card as well as the expiry month and year for the credit card. The "expiry month" and "expiry year" field is separated into different fields. The validator should check that the expiry … | |
I have this code which not give me desired result I want output as same http://www.asteraweb.co.uk/wrap_example.html same as like first container have I have this code but its working on no. of word and missing some words in the last <!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"> … | |
Hello I'm new to java and am having trouble making a drop down list that draws the top 10 electronics from an rss feed for amazon using the rss link: [url]http://www.amazon.com/rss/bestsellers/electronics/ref=pd_ts_rss_link[/url]. I;m familiar enough with drop down lists to have that part, but have no idea how to add the … | |
OH How many ways can I Google this? Do I need to add some, any, or all of AjaxControlToolkit.dll each time create new .aspx site? I have seen the hundreds of pages regurgitating the steps to add AJAX to toolbox, but nothing about keeping it there for use on subsequent … | |
Hi, I am making a form validation for my website. I need to put red asterix (*) in the compulsory field. In my form, if "Country" value is Australia, then the "State" and "postcode" field is necessary. If "country" is not Australia, then the "state" and "postcode" field are optional. … | |
Hi all, Is it possible to use the same javascript code in a while loop? The first record that is pulled from the database displays the javascript counter. Yet on the second iteration of the while loop (a new record pulled from the database), the javascript just seems to get … ![]() | |
Not sure if I'm in the correct forum but... I have a form with three select boxes. Box 1 has a variety of choices, but boxes 2 & 3 are empty. When the person selects an option from box 1, box 2 gets populated with choices. When the person selects … | |
How can we pass the variable value from javascript to jsp page at runtime? I am getting this problem when i want to display the second drop down box according to the selected item in the first drop down. For ex: Lets consider we have a drop down field named … | |
HI plz can someone help me am at a loss i just dont know how to do that :( | |
![]() | Hi, I'm trying to make a marquee within a table that uses 1 picture and goes on for infinity, without a gap between where it ends and where it starts each time it loops. Could someone please tell me how to do this? Thanks, -Ashton. ![]() |
Hey I am not a guru with ajax I have only used it, maybe two times before. What i am trying to do it create a site were all the content on the pages load through a box called: <div id="content"> All this works fine. But when you click the … | |
i am very new to java i have found a piece off code [CODE] <SCRIPT LANGUAGE="JavaScript"> <!-- Begin // The referrer info is only printed out when you // follow a link to the page with this script on it! if (document.referrer) { document.write("Thanks for visiting us from "); document.write(document.referrer); … ![]() | |
Hey guys, Sorry if I am cross-posting, but I can't seem to find a solution to this problem. I have a PHP while loop that retrieves records from my database. Inside the loop, I also have a Javascript counter that I need to generate for each record I retrieve (for … | |
Can anyone help guide me in implementing my JavaScript code into a Firefox extension? The process is confusing and the lack of instruction from my professor isn't helping | |
[CODE] here is java script code function ShowMsg() { if(document.getElementById("txtVerifierName").value=="") { alert("PLEASE ENTER VERIFIER NAME.."); return false; } <asp:Button ID="btnAdd" runat="server" Text="ADD" OnClientClick="ShowMsg()" onclick="btnAdd_Click" /> [/CODE] NOW THE PROBLEM IS THAT WHEN I CLICK THE BUTTON, IT SHOWS THE MESSAGE THAT PLEASE ENTER VERIFIER NAME BUT EXECUTION DOESN'T STOP THERE, … | |
hi, I have one image (sampleImage.png).. Already i connected my pc to printer.... Manually i open the image and select print option , then i got image from printer.... Now i want print image using javascript.... [code]<%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ … | |
Hi, I'm new in AJAX and PHP. I just want to create an online Application form. That only thing that I'm missing is the UPLOADING OF PICTURE. Here's the scenario: 1. The user will complete all the required fields(name, email, etc..) 2. On the upper-right of the form, I want … | |
Hi, I am javascript newbie. I have a slideshow on my site and it works fine if I type in the images for it to display, however I want to get the image files path from my database, so it shows all the photos. Here is the code I am … | |
I need to iterate through a JSON object in JavaScript or jQuery that is returned from a PHP file with the a json_encode function call: echo json_encode ($varDump); The beginning of the JSON objects looks like the following: ["date","Rescription",{"date":"1715-05-03","description":"Edmund Halley observes total eclipse phenomenon \"Baily's Beads\""},{"date":"1765-05-03","description":"1st US Medical school opened"},{"date":"1797-05-03","description":"Jamaica … | |
I'm just going to post my pages here if someone will take a look and let me know where to go from here...sorry, I could have attached files if you would prefer. I am not sure what needs to be in my VB page if anything more is required nor … |
The End.