15,700 Topics
![]() | |
can someone help with this? nothing works beyond the // *############# [CODE]<script> function $_(IDS) { return document.getElementById(IDS); } function calculate_paid() { var amtpaid = document.getElementById("amtpaid"); var rentdue = document.getElementById("rentdue"); var prevbal = document.getElementById("prevbal"); var hudpay = document.getElementById("hudpay"); var tentpay = document.getElementById("tentpay"); var datepaid = document.getElementById("datepaid"); var late = document.getElementById("late"); var … | |
Having a problem that I cannot seem to get over. Simply trying to do a post of an xml string to a web site. Seems to work fine, until I hit a certain size of the string, then it fails. I have searched for other methods, but am coming up … | |
I am new to Java and having an issue with it. My website currently works when run on my desktop but once it is uploaded it is not working correctly. Specifically the javascript does not seem to be working once I upload it. What it is supposed to do is … | |
Hi, Iam trying to add two small buttons for my edit in place rows. A user at the moment clicks the keyword where a div loads the editable text and they have to press enter key for the data to post. How do i add a edit icon and then … | |
hi guys, i have this program wherein the user can add freely how many textboxes he want. now my problem is that i have a class on my first textbox which is [CODE]class= "TextBox"[/CODE] then, i want to add that class name to the textbox added by the user..how could … | |
Hi, i tried to use the `ActiveXObject("CiscoURLProxy.URLGrabber")`, but when i run the code it gives the following : Error Type: Microsoft JScript runtime (0x800A01AD) Automation server can't create object please help me to fix it . here is a part of the code : <%@LANGUAGE="JAVASCRIPT" CODEPAGE="65001"%> <% Response.ContentType = "text/xml"; … | |
Hi, I'm trying to read a select(dropdown) box from an HTML form along with all its options. Can you please guide me as to how this can be achieved. My core requirement is to be able to read a select element with all its option and store it in some … | |
Dear forum Rather than use a library, I have attempted to write my own attempt at a script that allows multiple elements to be dragged around the page. It starts by loading all divs into an array, and then forms a new array of only divs with the required class … | |
We have tracking code in place that will track a user from our news letter to our site and then track the user around the site. If the user is in our database we can track the user by email. We now offer free downloads to newsletter subscribers and want … | |
hi guys, i already have and can make a autocomplete form using jquery plugin..it works fine..but the problem now is, i want the data to be stored in the database now, and not only in a javascript file..is it possible>? could you help me? here is my code.. [CODE] <script … | |
hi guys, i am generating a certain element using javascript inside a table.. now, my problem is that, inside a cell, i will input a text and a textbox.. if the sequence is like this, text textbox both displays in the screen, if it's like this, textbox text only the … | |
Hey everyone, I am trying to accomplish something with images growing on hover like the fancy grow mouseover effect on google images. Here is what I have: [URL="http://www.1stbusinessneeds.com/tooltip/tooltip.html"]http://www.1stbusinessneeds.com/tooltip/tooltip.html[/URL] The tooltip is offset and is based on the walter zorn tooltip. What's the best way to have the mouseover popup grow … | |
Hi How is it possible to write Ajax code using var timerId = setTimeout("test_function();", 250); and xmlhttp.onreadystatechange=function() but without the user doing anything. Thanks in advance, Lawrence | |
hi guys! i've a mapped image and jquery in the following code, works fine with Chrome and Safari, but Firefox doesn't recognize the onclick function and I'm wondering why! [CODE]<img id="menu" src="/imgs/home/menuOK.png" border="0" align="left" usemap="Map_Menu"/> <map name="Map_Menu" id="Map"> <area shape="poly" coords="16,189,103,155,99,149,5,169" href="#" onclick="$('#contenuto').html('<iframe src=bio.php frameborder=no width=100% height=100% scrolling=no id=icontent><p>Your browser … | |
We have a script that's supposed to tell the user how much money they save or lose over a certain period (for example, how much money they have left over each month after bills). The problem is that it doesn't show the answer after the user clicks "Calculate". What's wrong? … | |
Hi, This may seem like a really easy fix but I'm new to JQuery and I've been staring at my code for ages now and can't find the solution. The code is for a two line navigation system. It works fine except when the user stops hovering over 'wrap' the … | |
[CODE] <html> <head> <title>MY FIRST AJAX SCRIPT</title> <script language = "javascript" type = "text/javascript"> function checkName() { var xml; try { xml = new XMLHttpRequest(); } catch(e1) { try { xml = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e2) { return false; } } xml.onreadystatechange = function() { if(xml.readyState == 4) { alert(xml.responseText); … | |
Hey, I'm trying to get a random number for a small game which lights up random lights. I can't figure out a way to get the number random. I've tried seeding the Random() function with current time, but it's not working. It always lights up the third light. Here's my … | |
Hi all ! In my Online Ticket Booking Project on i am using AJAX for source and destination cities.. destination is dependent on source city.. but on my machine Ajax is not working ... while on all the other machine it is working properly.. please help.. i am using mozilla … | |
Hey! I am just wondering: If I want a form to send a AJAX request instead of sending the user to another page or same page; can I [ICODE]<form action="javascript:sendRequest()"[/ICODE]? | |
I am new to javascript and I am not sure if my idea will even work in java script but here we go. My Dad has a web page and I am trying to help him out with it. He builds duck calls and I am trying to make a … | |
Hi, I am new here in this forum and I am currently studying JS. I need help with something but I couldn't find any existing problem like mine. anyway, I just want to pick a random sound when Play button is clicked. I just need something to start of then … | |
I'm not an experienced javascript programmer. I'm wondering if there is a library which has a simple approach to drawing a 2d array as an HTML table (when the array changes, I can use this library to update the HTML). I know this is easy to do in raw javascript, … | |
I am trying to have a sidebar that has a fixed position so it scrolls with the page, but can be hidden (toggled) like this: [URL="http://davidwalsh.name/dw-content/slider-coupon.php"]http://davidwalsh.name/dw-content/slider-coupon.php[/URL] only on the right side of the page. I am going nuts trying to figure this out: I've tried dozens of scripts but everyone … | |
I want to map a field, city, from a MySQL database into Google Maps. I found a nice script to do it, but haven't been able to get it to work. If I hard code an array into locations (var locations = ['Seattle', 'New York']), it works fine. Passing this … | |
Hi All, I have a file which contains mixed frames. [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head> <title>Configuration Screens</title> </head> <frameset rows="71,*" frameborder="0" border="0" framespacing="0"> <frame name="topNav" src="./CSTopBar.irpt"> <frameset cols="220,*" frameborder="0" border="0" framespacing="0"> <frame name="menu" src="./ConfigurationMenu.irpt" marginheight="0" marginwidth="0" > <frame name="content" src="/XMII/CM/Testing_AA/Configuration/ProductionCalendar.irpt" marginheight="0" marginwidth="0" > </frameset> … | |
Help!!! Ok I have been on this problem all day. Searching and Searching and just when I thought I had it...the script didn't work as it was supposed to. My URL looks like this: [CODE]http://mysite.com/joinform.php?Email=mymail@gmail.com&Username=newuser&Password=12345678 [/CODE] I need to parse the email, username and password from the url into the … | |
Hello, I have a page, all there is in it is: [QUOTE]<script type="text/javascript"> alert('my test'); </script>[/QUOTE] When I open the page by itself, it displays the alert. Using the [URL="http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/"]Tabs Content[/URL] script, I call that page via ajax. Page displays, but not alert. So please how do I initialize javascript … | |
Hi, I have a problem with setInterval (jquery). It works great, but I wan't the element to stop refreshing when a textarea is selected (so that users can insert text). Here is the refresh code I'm using currently. [CODE] $(document).ready(function() { $("#container").load("php/functions.php?page=wall"); refreshId = setInterval(function() { $("#container").load("php/functions.php?page=wall&r="+Math.random()); }, 1000); }); … | |
is there any alternatives? My hosting is a Shared hosting so I guess somehow its limited... | |
I need Help with a program Details: Design an algorithm that will produce a list of selected student names from a student file. Each input student record contains the students number, the students name, semester hours, and the age. Your program is to read the student files and prepare a … | |
Hi everyone, i need your help) i have some elements with same id, say: <div id="myid">Data1</div> <div id="myid">Data2</div> I want to get innerHtml when one of them is clicked, how can i determine which one exactly was clicked? JQuery: $("#myid").click(function(){ //how to get the .html and other properties of clicked … | |
Working on a web site and noticed that of about 70 pages total, only one page (regarding Roundcube webmail) has an issue with the sub-menu not working at all. This is the header [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <meta http-equiv="Content-Type" content="text/html;charset=utf-8" /> <head> … | |
Hello, I just 'launched' my own SNIP which is supposed to be an advanced online portfolio for artists and photographers. One of the main features is the continuous preloading of all the images so that the artwork enlargements are shown instantly. SNIP is my 'demo' and it seems to be … | |
1) Script Title: Ajax Tabs Content Script (v 2.2) and Featured Content Slider Using jQuery UI 2) Script URL (on DD): [url]http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/[/url] 3) Script URL of Featured Content Slider Using jQuery UI [url]http://webdeveloperplus.com/jquery/featured-content-slider-using-jquery-ui/[/url] 4) Script URL of my implementation of both script. [url]http://www.livegigscentral.com/dhtml/demo02.htm[/url] 5) Problem: I've integrated the featured content … | |
am having a lot of headache trying to pass values to upload.php I have tried various ways to pass one parameter but it is always empty in upload.php. I have seen the sample but I failed to get it right nor all the other tutorials outthere helped me out. here … | |
hello... i am displaying google images in my website. from this i would like to add some images into my favorate images. but i have seen more drag and drop functionalities every thing have image id's and using this image id functionality working. but there is no id's for google … | |
Hi All, I am having a problem changing HREF and Text of a link from javascript. My code is as colos [code] <a href="javascript:Action(9,'remove');" id="thelink">Remove</a> [/code] And the javascript code is: Code: [code] function Action(locid,reqact){ var fltitle; var flllink; var flmsg; if(reqact=="remove"){ atitle="Add"; newlink="Action(" + locid + ",'add')"; } else … | |
I have a project that I'm having a hard time figuring out an approach for, which I'll try to describe briefly: My client has a business where salespeople input information from customers into a form. One of the things the customers decide with the salesperson is whether to accept a … | |
Or, at least, I think it is. vtm-book.zxq.net The first page with the menu works just fine, but when you go to any of the other pages it won't let you highlight the text to copy and paste - in certain circumstances. It works fine on my home computer which … | |
Hi! I am new to the hole website building stuff but i am trying. I've been having many problems, that I succesfully resolved. There is one exception. I cannot seem to make a menubar written in javascript to appear on the webpage. It's like the code has never been written. … | |
Hi, I want to draw a shape during 5 seconds, like this. I use raphael js library. But how to draw the line after animation? (I mean draw the moving trajectory). Thanks. [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <script src="raphael-min.js" type="text/javascript" charset="utf-8"></script> … | |
![]() | Hello, I'm trying to get a form select disabled. The problem occurs with the 2nd line, the first line disables correctly, but all subsequent disables do not work. Here's the partial code: [footwear_inst.addDisable( {'Gender':'Womens', 'Style':'300'}, ['size_10-5', 'size_11-5', 'size_12', 'size_13', 'size_14', 'size_15'] ); footwear_inst.addDisable( {'Gender':'Womens', 'Style':'500'}, ['size_5', 'size_5-5', 'size_10-5', 'size_11-5', 'size_12', … ![]() |
I want draw a Shape like[CODE] M114,100c0,50 100-50 100,0c0,50 -100-50 -100[/CODE] during 5 seconds, How to do that with raphael js? Thanks. [CODE]<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Raphaël · Gear</title> <style type="text/css"> body{overflow-x:hidden;overflow-y:scroll;width:100%;padding:0;margin:0;background-color:#022d00;} </style> <script src="raphael-min.js" type="text/javascript" charset="utf-8"></script> <script type="text/javascript" charset="utf-8"> window.onload = function () { var paper = … | |
i have a php variable that holds a date and i want to pass to a javascript function, but what happens is that i get a junk value instead, what should i do? [code] $data = $_POST['datep']; echo "<script language=javascript>fnClickAddRow($nplaca,$defeito,$posicao,$data);/script>"; [/code] [code]<script type="text/javascript"> function fnClickAddRow(n__placa,defeito2,posicao2,dataf) { var lext = "<?php … | |
i have a php variable that holds a date and i want to pass to a javascript function, but what happens is that i get a junk value instead, what should i do? [code] $data = $_POST['datep']; echo "<script language=javascript>fnClickAddRow($nplaca,$defeito,$posicao,$data);/script>"; [/code] [code]<script type="text/javascript"> function fnClickAddRow(n__placa,defeito2,posicao2,dataf) { var lext = "<?php … | |
The problem I am having is that it is out putting employee number not valid while I am typing a valid ID. [CODE]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> </HEAD> <BODY> <SCRIPT LANGUAGE="JavaScript"> <!-- var emp = new Array ("Billy", "Jill", "Wolfgang", "Xavier", "Antoinette","John") … | |
Hello guys i started to use the zRSSFeed pluging, and it works nicely all of the RSS links i could think off, but when i try the news.google RSS feed i get the error "Feed could not be loaded." the link i use is : [URL="http://news.google.com/news?pz=1&cf=all&ned=iw_il&hl=iw&output=rss"]http://news.google.com/news?pz=1&cf=all&ned=iw_il&hl=iw&output=rss[/URL] can anybody help?? Im … | |
Hi all, I have two questions. 1) How to refresh a page in jsp even if the javascript is not supported by the browser or if it is disabled? 2) How to get the path of the window in js? Thanks in advance. | |
I need serious help with Scrollbars. how can i position them so they go exactly where i need them. say on a picture i need it in the circle area how can i get it there and what do i need to do? Could somebody point me in the right … |
The End.