15,694 Topics
![]() | |
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 … | |
hi guys, I'm doing a simple system using codeigniter i need to implement search using jquery ajax in it, this is my fist coding experience in codeigniter and jquery, so i need a good source to learn about it, please suggest me good study material for studying it? regards, Rangana | |
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 … |
I have a script working for me which loads content into an iframe on my index page based on a url query string. for example: mysite.com/index.php?two.php loads "two.php" into the iframe, heres what i have: [CODE]<script type="text/javascript"> function loadIframe() { var urlStr; urlStr = location.search.slice(1); window.frames.myiframename.location = urlStr; } </script>[/CODE] … | |
Hi I want to extract all the names properties of the html form. I have 2 elements (Textarea and CheckBox) and I need to create 2 arrays with all the names of them, is to say, in the array1 all the checkbox names and in the array2 all the textarea … | |
Hi! Sorry for my bad english. I need help. I have a code (it's long so here's short version) that will, when I click on the button 1 (input field 1 and button 1), make a new input field and button with new name (input field2 and button 2) and … | |
hi all i have taken script from internet but in this script i dont understand what does mean this.length. when we write [CODE]this.length[/CODE] as what length we must understand it here is code. [CODE]Array.prototype.max = function() { var max = this[0]; var len = this.length; for (var i = 1; … |
The End.