20,316 Topics
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 …
I created a JApplet game for a class project. My game is basically a dodge-ball game. I have 5 dodgeballs bouncing around the screen with a player starting in the middle. The object is to mouse drag the player dodging all of the balls bouncing. The problem I am having …
Hi, my name's Vincent, from France... I come from wine marketing and started coding last year, first html, actionscript, and now PHP, javascript, but still a newbie... I just met Daniweb and think we will spend time together... pleased to meet you all, and many thanks to the community spirit...
[QUOTE]hi all, i am having a problem with logout. whenever i click on logout it wil logout but wen we click back it is going to the previous page page even after logout. so i want to avoid that. so can any one.. Thank u.. [/QUOTE] ------logout.php---------- [CODE] <?php ob_start(); …
i got a problem. i want to have 3 forms and both linked..i.e you can access all of them.the first to be a log in form, which when you have entered the correct user name and password,it lets you to the second form.the second and third are just forms to …
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!
VERY simple problem i know, but i need to have an array of text-box's. [CODE] <input type='text' id='val[]' value='1'> <input type='text' id='val[]' value='2'> <input type='text' id='val[]' value='3'> <input type='text' id='val[]' value='4'> <input type='text' id='val[]' value='5'> [/CODE] I have simplified my code, however this is basically the source output i have. …
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 all, I have created a three column CSS website and I am now a little stuck. I have got a top navigation bar which gives overall navigation around my site. I now want to put a tab navigation bar within the centre content colum which will call up and …
i have a div that is a pop-up, and it is in a loop. I want to add a form to the below code so i can send the data in the textarea to the next page. Because it is a pop-up, the style changes from display:none to display:block, but …
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 …
is it possible to read the status bar notifications programmatically? if its possible means how can i do that? pls need immediate replies.. ur replies will help me in my project. thanks.
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 i had created a Jtable Which Stores Data like below -------------------------------------------------------- a b c d e w q 1 2 9 -------------------------------------------------------- i want to get the cell value when i click to the cell... i tried lot but not got hte out put please help to get the …
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 …
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 guys, I'm kind of new with xml. I have an xml file in the following format, with 592 records: [CODE]<?xml version="1.0" encoding="ISO-8859-1"?> <data> <item> <buildingName>Chateau</buildingName> <address>81 North Broadway, White Plains, NY</address> <mail>I</mail> <laundry>I</laundry> <garbage>I</garbage> <parking>I</parking> <rating>No Access</rating> <municipality>White Plains</municipality> </item> <item> <buildingName>44 Franklin Avenue</buildingName> <address>44 Franklin Avenue, New Rochelle, …
hi all, what my query is when i enter into a page immediately that page should get refresh and that too only once. i tried for <meta http-equiv="refresh" content="2"> but it is refreshing after every 2 seconds. so can any one. Thank u
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 …
I HAVE 3 TEXTBOXES (txt1,txt2,txt3) WITH TWO BUTTONS ONE IS HTML BUTTON NAMED AS btnCalculate AND OTHER IS SERVER SIDE BUTTON NAMED AS btnAdd WHAT PROBLEM BOOTHER ME IS THAT VALUES COMES FROM DATA BASE FOR txt1 AND txt2 WHEN I PRESS btnCalculate JAVASCRIPT CODES ARE EXECUTED TO MAKE ADDITION …
I wish to use a function in .js file in .net using java script which have two parameters ie one getting row value and other getting column value and function should return the table is it possible I am new to java script please help me.
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 everyone i am using Window XP, mozila firefox, and php 4.1 i made php project for my final year exams...now this is not runing.. my project consist menu that list out all the options. this menu is in javascript and css. where i developed that project runing properly.. but …
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 …
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 …
I made a slideshow in dreamweaver which works, however when it gets to the end of the cycle it displays a black image before it loops again- how can i get this black 'image' to disappear? [CODE]In the header part: <script type="text/javascript"> var slideCache = new Array(); function RunSlideShow(pictureName,imageFiles,displaySecs) { …
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" %> <%@ …
The End.