15,121 Topics

Member Avatar for
Member Avatar for letheredge

Hi. I have two files, one HTML/Javascript and the other JSP. They run on different servers. I need the HTML/Javascript file to communicate with the JSP. Basically, I need to run the HTML/Javascript, pass in a variable to the JSP, run the JSP, and pass a variable back to the …

0
37
Member Avatar for hitro456

Hi everyone, I have Javascript function (say hello()) in page (abc.aspx) I want to call this function from (abc.aspx.cs) In .cs file I have a function say fun1() { - -- if (var==1) call javascript function here } how can I call javascript function from IF condition?? I dont want …

Member Avatar for dnanetwork
0
123
Member Avatar for LotusShiv

I have an ASP.Net 2.0 application (VS.Net 2008/C#). I want to populate the Treeview on my page using javascript. So far I have heard not so positive views about populating using javascript. Still I want to give it a shot. Any help is greatly appreciated.

Member Avatar for LotusShiv
0
189
Member Avatar for Lightninghawk

One of my affiliates is having a problem with his Google Adsense and JavaScript. It works about 2/3's of the time. But on other occasions it gives an undefined error or only one ad shown. The original code is as follows: [CODE] function google_ad_request_done(google_ads) { if (google_ads.length > 0) { …

Member Avatar for mplok
0
213
Member Avatar for bsewell

Hi All, I want to add a map to a webpage, with the intention for the user to be able to click anywhere on it and a small picture to be displayed where the user has clicked. I imagine that this will involve using jQuery, but I don't know how …

0
55
Member Avatar for seniramsu

so I'm trying to manipulate elements that are name related. A div 'button' has id="phoneInput" It's corresponding div has id="phoneInput_div". When #phoneInput is hovered over... [CODE]$('.unSel').hover( function() { $(this).toggleClass('sel'); $($(this) + "_div").toggle(true); }, function() { $(this).toggleClass('sel'); $($(this) + "_div").toggle(false); } ); [/CODE] ...its corresponding #phoneInput_div needs to show, then when …

Member Avatar for soldierflup
0
63
Member Avatar for KcNaveen
Member Avatar for KcNaveen
0
98
Member Avatar for s.moosavi

hi all i'm a Beginner in c# coding. i want to design a home application that will run on a single pc i want to design a menu strip but not like the menu bar that appear above the window(file,edit,view,...) my idea in design is that the menu appear in …

Member Avatar for s.moosavi
0
93
Member Avatar for weles

Hi, It is my 1st attempt with Ajax and I'm facing some problems. Below parts of my code. First part is working ok. But then I need to get option id attribute instead of value. And it is not working. Could you help me and check it? Thx index.php form …

Member Avatar for weles
0
82
Member Avatar for george61

I'm working on a site and I want to give the users option to change the background image. Of course client-side. My default background-image is put in CSS file. [CODE]body { background-image: url(images/back.jpg); overflow: visible; width: 1260px; }[/CODE] I've tried to make some javascript trigering the change [CODE]var img = …

Member Avatar for Airshow
0
432
Member Avatar for SKbirdie

I have an existing website I an trying to modify. In speedscript I have my include libraries and a veriable. Then I need to do an href with a link I have the code as follows <a href="WI_testweb/" + "custno" + ".xls">Matrix</a> The custno is the variable. Is there a …

Member Avatar for SKbirdie
0
209
Member Avatar for monstercameron

this is how 3d in html should have been done! displaying 3d models is the easy part...then using javascript, python, actionscript or java the edit the scene the tag "3dobject" denotes a single 3d file solely for viewing the tag "3dworld" denotes a list of 3d files within a world …

Member Avatar for monstercameron
0
107
Member Avatar for sharonig

Hi, I have a parent element that registered to the keydown event. somewhere down the hierarchy I have a table and some buttons. It appears that after I press the buttons, I only get the keydown event in the parent after 3 key strokes. I put breakpoints and the event …

Member Avatar for Taywin
0
76
Member Avatar for aldm

Hi, I have some problems with validating form in javascript. I have a following HTML code: <form action="registracija_preview.php" method="post" onsubmit="return ValidirajFormu();"> </form> <div id='poruka></div> What I want in validation is to check all the field in form (check for required fields etc). I want to show user error message in …

Member Avatar for gumape
0
145
Member Avatar for kumar selva

why we are using java script in IT COMPANY? how to develop a project in IT company?

Member Avatar for Taywin
-1
46
Member Avatar for mymattu

Iam getting this error code ;Line 5, char 45, unterminated string constant code 800A03F7 with the ff script. Please help. [CODE]var thisAd = 0; function rotate() { var adImages = new Array("images/green.gif", "images/red.gif","images/gre.gif","images/ apple2.gif"); thisAd++; if (thisAd == adImages.length) { thisAd = 0; } document.getElementById("adBanner"). src = adImages[thisAd]; setTimeout(rotate, 3 …

Member Avatar for Taywin
0
91
Member Avatar for keychains

I am trying to create a JavaScript menu, but I can't hide the sub-menu? I am trying to create a menu with JavaScript for a friend of mine. I can't get the part that drops down to be invisible though. My code is below. Any ideas? HTML File: <!DOCTYPE html …

Member Avatar for Graphix
0
226
Member Avatar for raghujosh

I have a JSP( a form) that calls a servlet when I click the submit button. I want to add javascript validation to the form fields. When I try to embed the script it does not run. I tried to link the file to the JSP, but that also did …

Member Avatar for javaAddict
0
2K
Member Avatar for mymattu

Iam getting this error code ;Line 5, char 45, unterminated string constant code 800A03F7 with the ff script. Please help. var thisAd = 0; function rotate() { var adImages = new Array("images/green.gif", "images/red.gif","images/gre.gif","images/ apple2.gif"); thisAd++; if (thisAd == adImages.length) { thisAd = 0; } document.getElementById("adBanner"). src = adImages[thisAd]; setTimeout(rotate, 3 …

Member Avatar for codeorder
0
39
Member Avatar for Silvershaft

Hey! Is it possible to make RSS feed of a site what requires login before you can see the contents of it? Thanks in advance!

Member Avatar for Silvershaft
0
91
Member Avatar for mrkaran

i have object tag as: [CODE]<object type="application/x-shockwave-flash" id="aa" data="act_pass_satell.swf?a=12" width="900" height="645">[/CODE] how can i change the src attribute of object tag?

Member Avatar for almostbob
0
73
Member Avatar for eirikra

This might be a stupid question, as I am a complete beginner in the world of AJAX/Javascript. However, I am trying to build a website using Ajax combined with PHP/MySQL. The issue I have at hand is that the PHP variables and functions that I have included in the header.php …

0
47
Member Avatar for bjeffries

I have a jquery slider that is not cross browser compatible. It works in all browsers except FireFox. From reading other forums it says that FireFox needs to read document.getElementByID to properly read the javascritp. Does anyone know a way I can rewrite this code to still make the slider …

Member Avatar for Taywin
0
89
Member Avatar for ashu2401

Hi everyone, I am a beginner in javascript and am running into a small issue. In the code snippet below, the desired result is a countdown from 5 to 0 using alert messages. But for some reason it alerts only -1, why is that and how can I fix this …

Member Avatar for ashu2401
0
123
Member Avatar for robert_b

Hello All, I'm having a serious problem with AJAX in my web application that has our entire development team banging their head against the keyboard. (Unfortunately, all that banging hasn't yielded a good answer, so I'm hoping one of the experts here have a possible solution!) The core question is …

Member Avatar for Airshow
0
107
Member Avatar for pietpiraat

Hello all, i'm trying to show the time between a start & end time selection, problem is, i do not know my way around javascript/jquery that good, so i hoop someone will help me. i have four dropdown select boxes: [LIST] [*]start hour [*]start minute [*]end hour [*]end minute [/LIST] …

Member Avatar for Airshow
0
2K
Member Avatar for oscar_10002

I'm Trying to put a banner that rotates 3 images on a bigcommerce.com platform which is in HTML and banner in Java - can anyone see why isn't working? Thanks for the help ! [CODE]<div class="Block FeaturedProducts Moveable Panel" id="HomeFeaturedProducts" style="display:%%GLOBAL_HideHomeFeaturedProductsPanel%%""> <h2" dirty="false">%%SNIPPET_HomeFeaturedProductsFeed%%%%LNG_FeaturedProducts%%</h2" dirty="false"> <div class="BlockContent""> <script language="javascript""> // SPECIFY …

Member Avatar for Graphix
0
136
Member Avatar for samurai_alexis

I'm working on a project which implements google Maps. Now I have to choose between GWT or JavaScript as a programming platform. I'm wondering which is faster when accessing the data to be used to initialise the maps from a remote server? Any ideas?

Member Avatar for anony
0
99
Member Avatar for Virangya

Hi... I have a list of products displayed in a page and it contains a combo box to sort the products in a certain criteria. I want to sort the products just when I choose the criteria from the combo box. I understood I have to do this using onChange …

Member Avatar for almostbob
0
80
Member Avatar for costumechairman

I have a form that is 19 pages long. When complete, it is sent to a database and also printed. This is the header for the form [CODE] <fieldset class="major1"> <!--fieldset header --> <table> <tr><td colspan="5">Date: <input type="text" name="ard3date$$DOCID$$" value="$$ard3date$$DOCID$$$$" class="sp5" /></td> </tr> <tr> <td>Student Name: $$F1$$</td> <td class="sp2">&nbsp;</td> <td>Student …

0
45

The End.