15,700 Topics

Member Avatar for
Member Avatar for ms_sws

I could use some help. I have a function that opens an Excel spreadsheet to load data from it. The function is found inside <head> </head> and within that inside <script></script> (see below). The problem is that I need to write that data inside the row of a table in …

Member Avatar for ms_sws
0
312
Member Avatar for ephemeral

I'm having two Ajax-related problems on a page I am working on at the moment. [URL="http://www.utm.edu/departments/acadpro/library/openmic/add2db.php"]http://www.utm.edu/departments/acadpro/library/openmic/add2db.php[/URL] On this page, I have two buttons that use Ajax to fetch two separate forms and put them into a chosen div; that part works like a charm. On said forms, there is a …

Member Avatar for Airshow
0
154
Member Avatar for ItecKid

Hello, I am attempting to use JavaScript to 'highlight' text by changing it's background color: [code] <div id="foo" onMouseOver="highlight(this);"></div> [/code] In JavaScript: [code] function highlight (word) { document.getElementById (word.id).bgColor="blue"; } [/code] This produces no effect. I also have an onClick event in the same div, can I not have onClick …

Member Avatar for ItecKid
0
3K
Member Avatar for Atomika3000

Is it possible to name a cookie in javascript? i've got a web program that will display "name:undefined Name:Jack Grade:32" whenever i display the contents of a cookie i create. i'm assuming th first bit is the cookie name itself and then the other two bits are the contents? also, …

Member Avatar for Atomika3000
0
109
Member Avatar for masocha

defined('_JEXEC') OR defined('_VALID_MOS') OR die('...Direct Access class aca_module [ var $shownamefield = 0; var $receivehtmldefault = 1; var $showreceivehtml = 0; var $listIds = null; var $linear = 0; var $fieldsize = 10; var $introtext = null; var $redirectURL = null; var $showListName = 0; var $buttonUnregistered = _ACA_MOD_SUBSCRIBE ; …

0
71
Member Avatar for ms_sws

I've tried all manner of methods for accomplishing this and nothing has worked so far. The latest attempt follows. The objective is to call a function that tests for the existence of an image file. If the file exists then that image file is to be displayed. Otherwise, an alternative …

Member Avatar for Airshow
0
5K
Member Avatar for AdRock

I'm trying to help someone out with some javascript that works in IE but not in firefox. It's basically a filter so you select some options from select boxes and the javascript hides or shows any table cell that is not needed. The html is shocking and the javascript doesn't …

Member Avatar for theighost
0
213
Member Avatar for MaristBrandi

Hi all! I am trying to get a JavaScript date selector to work for a front end I'm writing. I've seen a lot of problems related to JavaScript and IE vs. Firefox but I've yet to find a solution to my issue. I have a simple form - when you …

Member Avatar for theighost
0
368
Member Avatar for baseballfury

Hello, I am currently working on a function that will allow the user to search for an event by date and category. I've been using the w3schools exercise as an example but i wish to pass 2 pieces of data instead of one and am not sure how to do …

Member Avatar for thonz
0
2K
Member Avatar for jrw89

In order to make sure my site works for a user I need to check that both JSON and XMLHttpRequest() are defined as objects by their browser. Rather than if/else I thought I'd use the ternary operator:[CODE=javascript]condition ? true : false.[/CODE] I tried the following and it doesn't work correctly. …

Member Avatar for jrw89
0
139
Member Avatar for ItecKid

Hello, I have written a 'predictive text' widget using JavaScript/AJAX. When user enters a string of letters into form, the list of possible matches is displayed under the form. This works well and good, now I am trying to make it so that when the user clicks on a certain …

Member Avatar for Taywin
0
756
Member Avatar for Atomika3000

ok, got to make a program that allows a user to enter data into the text fields (specifically a name and a grade), it then needs to store it locally, it then needs to be able to create a graph, and work out the standard deviation and mean from the …

Member Avatar for Taywin
0
94
Member Avatar for g0pal

i want to create a feedback form for my website [url snipped]. as i m using free host it doesnt allow PHP so i want to create it using JAVA. please help me create a feedback form which when submitted automatically send an email to my ID. if it is …

Member Avatar for Taywin
0
292
Member Avatar for Romik84

Hi there, I just try to figure out a function which will dismiss a text and saves it in cookies for next page reload/visit. My current code looks as follow: [CODE]<script src="http://code.jquery.com/jquery-1.4.2.min.js" type="text/javascript"></script> <script src="jquery.cookie.js" type="text/javascript"></script> <script> $(document).ready(function() { $.cookie("viewState"); var theState = $.cookie("viewState"); $("#R1").click( function () { $("#secret").hide("slow"); $.cookie("viewState", …

0
111
Member Avatar for Izzy123

im new to javascript and im currently designing a survey and i have to modify the survey using javascript, it has to do: the user should not be allowed to select any options from question 2 if they chose the last radio button of question 1. and i don't know …

Member Avatar for Izzy123
0
91
Member Avatar for onyango

I am trying to install websphere on my server but I keep getting the error message ,A suitable JVM could not be found please run the program again using the option -is:javahome <JAVA HOME DIR> My OS is windows server 2000. I have already installed java (TM) 2 Runtime environment …

0
50
Member Avatar for pjrey

site with issue: [url]http://pjrey.com/guestbook[/url] ok, ive tried and tried, no luck. what i am trying to do is: 1) the modal dhtml sign/window auto load (but only one time per user) 2) on completing the form, and hitting submit, i want the parent window refreshed (to show new content that …

Member Avatar for pjrey
0
129
Member Avatar for itisnot_me

ok so i was trying to look into making a loading spinner be put up when i am using a get or post method but it started to get a little overwhelming with what some people did. if you could help i would like to know how to make it …

Member Avatar for itisnot_me
0
65
Member Avatar for neelesh kumar

I have two Picture Libraries. One has pictures and the other contains the thumbnails created programmatically by me. I am displaying the thumbnails into a custom webpart. I need to display the [U]original pictures[/U] on mouseover on the thumbnails displayed in webpart and the originals displayed should dissappear on mouse …

0
54
Member Avatar for mejoyal

Hi all, Thanks for the interest, I want to set my menus like the categories in [url]http://www.alibaba.com/[/url]. ( the menu of the left side) on mouse over the sub menus should come up in the same way as here. How can I achieve this ? Thank you guys

Member Avatar for Graphix
0
74
Member Avatar for still_learning

Hey guys, Got a quick question for you. If I have an text input field for a search engine and I want the font to be larger, how would I do this? Right now changing the size attribute only changes the length of the field. Here is my code right …

Member Avatar for NaveenRahul
0
85
Member Avatar for dangari

Hi all.Please assist me on this matter.I am developing a jsp web app on which I want to use jmaki widgets. After installing the jmaki plugin into Netbeans 6.7.1, I dragged and dropped the jquery datepicker and got the following on my jsp page. [CODE] <a:widget name="jquery.datepicker" /> [/CODE] Problem …

0
69
Member Avatar for farmgirl69

EInterface: this Interface has an attribute NOW that holds the current date. DEFAULT_DATE holds a default date (May 1, 1990), and a series of formatters for currency, two decimals, and percentage (labeled as CURRENCY_FORMATTER, TWO_DIGIT_FORMATTER, and PERCENTAGE_FORMATTER respectively). Additionally, EInterface defines two methods: findGross and findNet. (Hint: explore a series …

Member Avatar for Taywin
0
85
Member Avatar for NoziphoR

Hello everyone! I need help with my code, I want to alternate more than just 2 images using a function and setInterval. Here is my code, can anyone tell me what's wrong with it? [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"> <head> <title>Banner Advertising</title> <meta http-equiv="content-type" …

Member Avatar for Taywin
0
119
Member Avatar for piblondin

Hi everyone, I have what I think is a very basic question. I want to make a JavaScript bookmarklet that will overlay a small window in the upper right of the screen with some text/html and a submit type button that will close the overlay when clicked. This is similar …

0
113
Member Avatar for baseballfury

Hi there, I've created a page that uses 2 seperate functions for passing variables. The first runs when the page loads and requests categories from a database to fill a dropdown box. The second function sends a date value and the contents of the select from the dropdown box to …

Member Avatar for baseballfury
0
184
Member Avatar for chakde

Hi, I am trying to display a number of text boxes and drop down menus using a For Loop. I can only display one of each time I select any number from the drop down menu. Currently the For loop is commented out, but if I leave it there nothing …

Member Avatar for Taywin
0
96
Member Avatar for x_mysterious_x

I m trying to make simple windows look like calculator in java script. but when i add two numbers the result is zeroy . can anyone take a look on the code and can tell me where is problem? [CODE] <html> <head> <title></title> <script type="text/javascript"> var res=0;var z="0";var o="o";var y=0;var …

Member Avatar for x_mysterious_x
0
118
Member Avatar for nakul_pancholi

Dear All, Hello..! I have one problem with html links. Suppose we want to set the link in our html document, we use <a href="filename.html"> Link </a> Suppose we want to go to a particular section to other html document then we use <a href="[COLOR="Green"]filename.html[/COLOR]#name> Link </a>. Here in this …

Member Avatar for almostbob
0
99
Member Avatar for qasimidl

I have from date and to date need to find no days from javascript?? e.g 30-3-2010 to 2-4-2010 like this

Member Avatar for Ramesh S
0
67
Member Avatar for gedas

hey guys new to all the web programming i have got a little task and have no idea where to start could someone help me please. well i have to draw a line between to different coordinates which are going on google maps so for example : [CODE] <Placemark> <name>mark …

Member Avatar for gedas
0
92
Member Avatar for albertkao

Why the following code has the error: 'document.mainform.unknownHw' is null or not an object? function setUnknownHw(unknownHw) { document.mainform.unknownHw.checked = unknownHw; } <div class="special"> <form name="mainform" id="mainform" action="display.htm" method="post"> <br><br><input type="checkbox" name="unknownHw" onClick="setdbUnknownHw(this)">Unknown Hw <input type="submit" value="Apply" onClick="setdbRowsPerPage()"><br> </form> </div>

Member Avatar for almostbob
0
283
Member Avatar for Liammm

Simply put, in Firefox, the ajax links work fine. They're targeting a div and in Firefox everything is fine, but in IE, it mucks up. I do not see any links at all. Here's my javascript code. [CODE]<script type="text/javascript"> /*********************************************** * Dynamic Ajax Content- © Dynamic Drive DHTML code library …

Member Avatar for Airshow
0
129
Member Avatar for affee

so my PHP is operational. The script I want to run is here: [CODE] <div style=""> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr><td align=center><script language="JavaScript1.2"> /* Left-Right image slideshow Script- By Dynamic Drive (www.dynamicdrive.com) For full source code, terms of use, and 100's more scripts, visit http://dynamicdrive.com */ ///////configure the below …

Member Avatar for Airshow
0
163
Member Avatar for pritaeas

I can reproduce this bug in IE7 (and a colleague in IE6), my link is here: [url]http://www.pritaeas.net/tools/linkfarm/[/url] If you select a tag the list gets filtered and the tag added to the selected div. Unselecting it will reset the taglist, and remove() the tag from the selected div. Selecting another …

Member Avatar for pritaeas
0
303
Member Avatar for sniigg

Hi, In my application I have <li>s and I am using Jquery to remove a particular <li> The code I am using is [code] $(".close").click( function() { $(this).parent().remove()// Links with the class "close" will close parent return false; } ); [/code] Using this I am successfully able to remove a …

Member Avatar for Airshow
0
2K
Member Avatar for amby

Hi, I have added web reference to my web space but dont know how to call its method from my code behind .aspx.cs file. can somebody please guide me in this matter. Thanks

0
100
Member Avatar for nathan_hastings

Does anyone know if there is a way of getting javascript to wait until I have pressed ok on an alert before it runs the next line of code? The site I am developing is in PHP but I have made this function to bring up a message box: function …

Member Avatar for Airshow
0
140
Member Avatar for jrw89

Hi all, I am trying to get an object to be aware of its own changes e.g. have it execute one of its functions but only when a variable has been changed from outside the object. Google gave me lots of references to XMLHttpRequest.onreadystatechange and this resource at MSDN: [URL="http://msdn.microsoft.com/en-us/library/ms536957%28VS.85%29.aspx"]http://msdn.microsoft.com/en-us/library/ms536957%28VS.85%29.aspx[/URL]. …

Member Avatar for jrw89
0
186
Member Avatar for amby

Hi, I am calling web service through jquery ajax call for the first time and getting an error. Can please somebody help me in this i would really appreciate it. Below is the code: [CODE]<%@ Page Language="C#" AutoEventWireup="true" CodeFile="userNTID.aspx.cs" Inherits="Default2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html …

Member Avatar for amby
0
187
Member Avatar for khan17

hi, im trying to automate a click on a link using javascript for which i have to navigate to a website first and then trigger a click on a link present there. for example i ve mentioned the [url]http://www.bing.com[/url] here and after navigating to bing home page it should automatically …

0
47
Member Avatar for Th3nutz

i've embeded google maps on my site with a marker setup were i wanted, but i cannot use "Get directions" to open in the same div that i use. Is it possible to do that, or my only options are _blank, _self etc. [CODE]<script src="http://maps.google.com/maps?file=api&v=2&sensor=true&key=ABQIAAAAsoAP0MDLt21HBpoCAZ0DLBQD344IlC21WoKHBucdD45AbVnqaxQoNHNKFtJHrVaqBr2Dwfh1G1O2-g" type="text/javascript"></script> <script type="text/javascript"> function initialize() …

Member Avatar for JayAugust
0
84
Member Avatar for vantrax

i have tried to implement a counter for my site which was a free hosted one from 000a.biz using ajax.It has worked in my LOCALHOST But it doesnt worked in my server. The html file is(main.htm): [code=html] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Tcats Inc.</title> <meta http-equiv="Content-Type" …

Member Avatar for Airshow
0
131
Member Avatar for baseballfury

Hiya Guys, Been working on the w3schools livesearch example but you can only select the option via a link. I'm trying to do it so i can submit a value to return database results. The external php code is below if anyone wants a look: I got it returning the …

Member Avatar for baseballfury
0
536
Member Avatar for rochellebeth

I can usually figure out problems like this with some testing or google searches, but nothing is working for me this time. I've installed a comments page on a website for a friend of mine, I got the code for the page from phpjabbers.com (and they aren't very much help!) …

Member Avatar for rochellebeth
0
127
Member Avatar for jrw89

Hi all. I have the following form: [CODE=html]<form id="registrationForm"> <input id="forename" type="text"></input> <input id="surname" type="text"></input> <input id="emailAddress" type="text"></input> <input id="password" type="password"></input> <input id="confirmPassword" type="password"></input> <input id="agreeToTerms" type="checkbox"></input> <input id="clickToRegister" type="button" onClick="javascript:SpeakAtServer(FormToJson('registrationForm'))" value="Register"></input> </form>[/CODE] ...with the following JavaScript... [CODE=javascript]FormToJson = function(sourceElement) { var JsonToServer = new Object(); if (document.getElementById(sourceElement).childNodes) { var …

Member Avatar for Eumenio
0
135
Member Avatar for amby

hey i am new in javascript, i was having problem in including jquery in this file in Visual Studio but i resolved it by using ResolveUrl but after that its giving error "; expected" in the line1 i-e [CODE]<[COLOR="Red"]%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2"%>[/COLOR] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for amby
0
198
Member Avatar for peck3277

Hi guys! Hope someone can help me out here. I'm using javascript to validate a form and if it's false it displays a message. If it's true in passes it to a php file to process it. The problem im having is even if it fails validation it still passes …

Member Avatar for Airshow
0
134
Member Avatar for anakanya

I have an html page with a random url that I want to be clicked programmatically in javascript [code="javascript"] <html> <head> <script> function ClickURL() { document.getElementById('xyz').click(); } </script> </head> <body onLoad="ClickURL()"> <a href="www.somewebsite.com" id="xyz">Link </a> </body> </html> [/code] This only works in IE - it does not work in FireFox. …

Member Avatar for almostbob
0
4K
Member Avatar for Rakesh Nagekar

Hello friends Iam KNR, Iam facing a problem with javascript validation, I am getting validation with alert boxes but i require inline validation like in .NET means the error msg has to be displayed after control please help me Thanks in advance KNR

Member Avatar for shadowgmax
0
80

The End.