15,120 Topics

Member Avatar for
Member Avatar for kaylors

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 …

Member Avatar for rajarajan2017
0
92
Member Avatar for uberznoob

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 …

Member Avatar for rajarajan2017
0
115
Member Avatar for bsewell

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 …

Member Avatar for rajarajan2017
0
233
Member Avatar for phingko

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 …

Member Avatar for rajarajan2017
0
108
Member Avatar for m-hrt

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 …

Member Avatar for rajarajan2017
0
234
Member Avatar for wewehalim

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 …

0
68
Member Avatar for sainiweb

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"> …

Member Avatar for fxm
0
161
Member Avatar for rod160

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 …

Member Avatar for WAIThelpdesk
0
128
Member Avatar for miweiser

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 …

0
85
Member Avatar for wewehalim

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. …

Member Avatar for wewehalim
0
109
Member Avatar for nonshatter

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 …

Member Avatar for diafol
0
734
Member Avatar for egoche

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 …

Member Avatar for egoche
0
92
Member Avatar for vijaysdon

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 …

Member Avatar for peter_budo
-2
2K
Member Avatar for Kirtipari
Member Avatar for feoperro

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.

Member Avatar for rajarajan2017
0
170
Member Avatar for bjeffries

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 …

Member Avatar for bjeffries
0
110
Member Avatar for nats01282

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); …

Member Avatar for rajarajan2017
0
76
Member Avatar for nonshatter

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 …

Member Avatar for almostbob
0
150
Member Avatar for magoon62

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

Member Avatar for MoonTraveller
0
46
Member Avatar for jamshed ahmed

[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, …

Member Avatar for jamshed ahmed
0
213
Member Avatar for jackrobert

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" %> <%@ …

Member Avatar for jackrobert
0
256
Member Avatar for roniedaniweb

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 …

0
50
Member Avatar for QWaz

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 …

Member Avatar for uberznoob
0
116
Member Avatar for rouse

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 …

Member Avatar for rouse
0
348
Member Avatar for miweiser

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 …

Member Avatar for miweiser
0
184
Member Avatar for mstatdaniweb

Hello, I'm trying to pass a $counter2 value from php loop to javascript, but $counter2 is incremented so I'm passing the highest value of $counter2, which i not what I want to do. Is there a way to combine values with html identifiers and pass them to js?I would be …

Member Avatar for mstatdaniweb
0
90
Member Avatar for gskoli

Dear all , Following i have provided piece of ajax code, Where i am inserting a row at top of table but it is working fine in all other Browser Except IE ... <code> if (self.xmlHttpReq.readyState == 4) { if (self.xmlHttpReq.status == 200) { var result = self.xmlHttpReq.responseText; if(result != …

Member Avatar for gskoli
0
73
Member Avatar for rs25

Hi, I'm having some requirement where i need to show some value in div tags and latter parse it to save in database. the value which is html escape char are getting translated when in div thus making the input wrong. like some where i'm using & and < they …

Member Avatar for rs25
0
193
Member Avatar for mustafizulallif

i wonder how to do a popup like this daniweb. i mean when your not a member and not login then u click this link. daniweb will display an image to join this forum and lock the page behind it. what is the code? is it using java script? [url]http://www.daniweb.com/forums/thread100886.html#[/url]

Member Avatar for sureronald
0
91
Member Avatar for aditya61

Please help me... not able to figure out what is wrong with this code! <?php if($_POST == "submitted") { echo ' <script type="text/javascript"> // Used them both and to my horror, none of them work!!! document.BPC.postback.innerHTML = "postback"; document.getElementById("postback").innerHTML = "postback"; </script> '; } ?> <html> <head> <title> Help me! …

Member Avatar for aditya61
0
83

The End.