15,688 Topics

Member Avatar for
Member Avatar for riahc3

Hey Is it possible to run a Java Servlet that loads a .html page that has a bunch of JS scripts in it? I know how to load a normal .html page (I believe it is correct) but not sure if it works if it has Javascript as well. Thanks.

Member Avatar for riahc3
0
634
Member Avatar for umamahesh2020

[CODE]function ValidChkBox(source, args) { //var pnl = "tabContainer_tabPanel" + Pageno + "_MultipleChoice_" + ElementID; var chkChoiceList = document.getElementById('<%= chkChoiceList.ClientID %>'); var chkChoice = chkChoiceList.getElementsByTagName('input'); for (var i = 0; i < chkChoice.length; i++) { if (chkChoice[i].checked) { args.IsValid = true; return; } } args.IsValid = false; }[/CODE] [QUOTE]The aboue coding …

0
59
Member Avatar for maxxxx

Hello all. I'm trying to figure out the javascript so that when I hit the total up order button, it will fill in the subtotal, PST, GST and give me my total in the box above the total up order button. Can some help me out? Thanks in advance. [CODE]<!DOCTYPE …

Member Avatar for qazplm114477
0
147
Member Avatar for maxxxx

I have this function that seems not to be working. If I click on the send order button and the first name field is not filled, it should say first name not entered. But it's not. I put comment in the javascript where I'm tring to fix. Thanks in advance. …

0
70
Member Avatar for Romil797

i have a sortable list. when the user rearranges an item, i should know what was switched with what. i dont want an array. i just want which element switches with which. each list item already has a unique ID.

Member Avatar for Airshow
0
74
Member Avatar for cambraydesign

I am looking to recreate a form function like this website: [URL="http://www.plus.approvedtelephonesystems.co.uk/UK/questionnaire7/uk-companies.aspx?gclid=CLSH-eTeg60CFQUhtAodyhSNTg"]http://www.plus.approvedtelephonesystems.co.uk/UK/questionnaire7/uk-companies.aspx?gclid=CLSH-eTeg60CFQUhtAodyhSNTg[/URL] What happens when you click the answer to the question the form scrolls to the next function. I would love to know how this is done. I am not a javascript developer but having looked into this the …

Member Avatar for pritaeas
0
148
Member Avatar for towerrounder

Hi all. Im new to JS and would like to note the following case: Ive run the following test numerous times ie: [CODE]<html> <body> <script type="text/javascript"> var s = 0, o = 0; for (a=0;a<=10;a++) { var start = new Date().getTime(); var res = 0; for (b=0;b<=100000000;b++) { res = …

Member Avatar for towerrounder
0
158
Member Avatar for minghags

Can anyone please help me do this with javascript [URL="http://uss.feri.uni-mb.si/images/Vaje/vaja10/slika08.png"]Screenshote[/URL]? It must be written like this. User inputs rgb color for first column (green,red,blue) and inputs number of columns. Then this must be in linear fading and every column has to have popup window with that rgb color. If anyone …

Member Avatar for minghags
0
216
Member Avatar for elbeato

I'm having trouble making the following code work. I'm trying to change text in "columnleft" with the showMess function, when I hover on the paragraph with the class "title." The really frustrating part is that this code has worked elsewhere for me. What am I missing? [code] <!DOCTYPE html PUBLIC …

Member Avatar for elbeato
0
273
Member Avatar for toutanne

Hi, I'm using this script [URL="http://www.daniweb.com/web-development/php/threads/68355"]http://www.daniweb.com/web-development/php/threads/68355[/URL] and i would like to know if it's possible to have the number like 1 000 000 instead 1000000? i found a function like this [CODE]function lisibilite_nombre(nbr) { var nombre = ''+nbr; var retour = ''; var count=0; for(var i=nombre.length-1 ; i>=0 ; i--) …

0
43
Member Avatar for bjones531

In a nutshell, my company is using several different programs that use a string of data regarding personal appearance information for different TV/movie character. This data need to be read in a very strict manner. (The following example is exactly how we need to input the information... including all brackets …

Member Avatar for rotten69
0
477
Member Avatar for kgibbs1

Can JavaScript capture menu or page navigation selections and use this to pull matching data from a remote server and insert it inside a div tag on the next page? I’m working with a 3rd-party catalog system that only allows adding one user descriptive header div block (i.e. the same …

0
36
Member Avatar for Behi Jon

Hi, I don't understand why this validation check isn't work, Everything is OK, but .... [code] <html> <head> <script type="text/javascript"> function valForm() { var x = document.forms["ActorForm"]["actorfname"].value; if (x == null || x == "") { alert("First name must be filled out"); return false; } } </script> <meta http-equiv="Content-Type" content="text/html; …

Member Avatar for Airshow
0
160
Member Avatar for daza166

Hey, I have been playing around with the history.length property in JavaScript and have come across a bit of a problem I don't understand. On my localhost machine I have two pages - Page A and Page B that both have one line of script being: [CODE]document.write("Number of URLs in …

Member Avatar for fobos
0
241
Member Avatar for javacle

please, i need help with how i can make pictures scroll on a website's homepage, i believe javascript should be able to do that, such that pictures will be moving at the header. And will it be there while users navigate to other pages on the site? thanks.

Member Avatar for stbuchok
0
100
Member Avatar for Jesmak

Hello! I'm here to ask for any help or assistance on getting an informations and ideas I need for storing files in my web application research project. I'm new to Visual Web Developer Express 2008 so I hope you will bare with me. Im trying to develop a web application …

Member Avatar for Jesmak
0
247
Member Avatar for debasishgang7

Hi all here is my problem, I have a text area in html page containing a long html code. like [CODE]some code ..... ....... <input type="text" name="mobile" value="1234567890"/> some code ..... .......some code ..... .......[/CODE] From that code present in the <textarea> i need to extract following line <input type="text" …

Member Avatar for pritaeas
0
162
Member Avatar for drsmith

I have heard that AJAX is a way to get a page to refresh when a MySQL db has changed. Basically we have a log (that several users at a time could be looking at), when data is submitted it posts to the MySQL db. Instead of having the page …

Member Avatar for twoclicks
0
520
Member Avatar for angeriel1

I have this progrom which is compiling and running.Only Iam tryin to understand how to change the action listener Next en previous such that,If i have 5 employees in record it when you reach the last employee in record the Next and previous buttons should be disabled.please advise here is …

Member Avatar for hfx642
0
730
Member Avatar for AMADH

Hello I was wondering if anyone might be able to help me? this is the jquery?I have two problems that I am hoping somone can help me with? What I am trying to do is when I click on a checkbox (#Facebook) it will display a div #widget-FB, and when …

Member Avatar for Airshow
0
269
Member Avatar for rievan

Hello, I have a simple question regarding a dynamic page that shows new content in a hidden div depending on what image people click. below I have two separate pieces, one is an array that stores all the video's that are going to be displayed, and below that is a …

0
54
Member Avatar for akhilchandranms
Member Avatar for stbuchok
0
90
Member Avatar for rajdevsohail

i am trying to code a chat app for my social network and i am using the following module .. [URL="http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/"]http://anantgarg.com/2009/05/13/gmail-facebook-style-jquery-chat/[/URL] i have coded the rosters(manage who is online) for it .. but those rosters work only on login/logout .. on login it makes an entry for username in a …

Member Avatar for diafol
0
156
Member Avatar for rayidi

I'm Working with register module with xmlHttpRequest. I have checking all. When i was trying to redirect after successfull its displaying the response with in the given div. [CODE] <script type="text/javascript"> function showRegister() { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code …

Member Avatar for pritaeas
0
1K
Member Avatar for phoenix_2000

Heya all, I've got a really weird bug here at the moment. I recently uploaded a javascript file form my local dev machine to an IIS server, and it gave me an odd error: "truedocument undefined". When i looked up the line in my browser source code(the one you get …

Member Avatar for Airshow
0
138
Member Avatar for malcolm p

Got 2 problems with my buttons selection. What happens is the user selects the number of buttons depending on the number entered in the text box. If the number is 3 in the text box, then the user can only select 3 buttons, if more buttons are selected then it …

Member Avatar for Airshow
0
96
Member Avatar for malcolm p

I have two grids, they both display buttons. One grid displays numbers, true or false and yes or no, and the other grid displays letters, true, false, yes and no. The second grid is not displayed in the code (used css to not display second grid buttons (.answerBtns)) Now using …

Member Avatar for Airshow
0
71
Member Avatar for maxxxx

Can I add an alert to this JavaScript? <script type="text/javascript"> document.getElementById('send').reset(); </script> <body> <input type="button" id="send" value="send order"/> </body>

0
83
Member Avatar for malcolm p

Hi, In my application what happens is that the user chooses a button by clicking on the (open Grid) link and selecting a button. Then what happens is that a set of buttons appear below depending on what the user has chosen. The user is supose to determine how many …

Member Avatar for Airshow
0
63
Member Avatar for rse

I have an ajax call that sends some data to process.php and return back the image name. In process.php I returned the name as follows: [code=php] echo "image.png"; [/code] The ajax call is: [code=javascript] var $chart = $( '#chart' ); var $test = $( '#test' ); $.get("process.php", {date: DateStr, birthday: …

Member Avatar for rse
0
142

The End.