15,121 Topics
| |
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 … | |
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 … | |
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. | |
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) { … | |
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 … | |
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 … | |
is it possible to set the radio button disabled on clicking the submit button | |
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 … | |
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 … | |
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 = … | |
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 … | |
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 … | |
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 … | |
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 … | |
why we are using java script in IT COMPANY? how to develop a project in IT company? | |
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 … | |
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 … | |
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 … | |
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 … | |
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! | |
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? | |
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 … | |
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 … | |
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 … | |
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 … | |
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] … | |
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 … | |
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? | |
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 … | |
| 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"> </td> <td>Student … |
The End.