15,698 Topics
![]() | |
I am using an ajax to load form fields. When the you select the school, the grade fields load. When you select the grade, the show name check box appears. When the select all box appears, I have to click the select all box twice for it to work. I … | |
I've been using thisJQuery code to fade in divs (all of the same class .showme) But what I would like to do is fade out the previous div as the next one fades in. Can anyone offer assistance on this? $(document).ready(function() { /* Every time the window is scrolled ... … | |
Hi, i want to detect browser close event and show alert message. Situation when i want to show message is only exit/close browser tab not on refresh or click link. Thanks | |
I tried different jquerry sliders from the internet. Some work but only as full background while i want the slider containend in a div "<div class="banner"> ". Im now using unslider from unslider.com, while the sliding works the images totally leak out of the div container.How can I change this … | |
Friends! I Have this JavaScript and the Validade Form not Work After I Select a Ajax Populate SelectBox. If not Select and Populate with Ajax, Validade Form Work. When Try Select (District) and Ajax Populate SelectBox SubDistrict, Validade Form Not Work... $.ajaxSetup({ cache: false }); $("#PriceForSale").hide(); $("#PriceForSeason").hide(); $("#PriceForRent").hide(); $(document).ready(function() { … | |
Hi everyone I have a bit of JavaScript code that I need a bit of help with. It concerns Local and Global scoped variables. In the code sample below, and in the function showLocation, are the two problem variables. If I un-comment the two document.writes, then obviously I can see … | |
I don't work too much in jquery and javascript so I am a little stuck on this problem. I have a long form for people to fill out and it gets added to a database and we use the information for certain reports we need. We want to add a … | |
In a form, I have a field called mode of transport: for that I used three radio buttons like own , private and public. If he clicks public radio button, it should show two radio buttons like pickup and drop. Otherwise it should not show it(pickup and drop). I don`t … ![]() | |
var vergi=function taxCalculator(){ var income=5 var taxRate=0.04; var totalTax=income*taxRate; return totalTax ; document.write( '<p> totalTax </p>') } vergi() ________________________________________________________________ <body> <header> <h1>Sadelewtirilmiw vergi hesablayicisi</h1> </header> <form method="post"> Yekun Geliriniz <input type="text" name='gelir' id='gelir'> <input type="button" name='hesabla' id='hesabla' value='hesabla' onClick="vergi()"> </form> <h2></h2> <p></p> </body> ![]() | |
I have a question I have been struggling with for a while, I think I might be taking the wrong approach or not understanding the basics. But I am looking for a solution, so if I have it the "wrong way" please let me know. I am building a login/registration … ![]() | |
I'm trying to write a javascript routine to crawl an XML document (of unknown elements) and parse out name/value pairs where "<nodename>nodevalue</nodename>" would come out as "nodename=nodevalue". What I have works great through the second element, then it stops traversing. I feel like I'm close but I just cant get … | |
[Click Here](null)I have a Chrome Addon and I have to implement the same addon in Firefox. I saw that the directory structure is different but I'm having some problems with Javascript files. In which Firefox folder should I put my background.js code?? Is there an expert that could help me? … | |
Hi.. I want to reset the multiple file input field. Actually my file input field is an array. I used the following code and it works if the input field is not an array. <script> $(function() { $('input[type=file]').change(function () { var regex = new RegExp("(.*?)\.(jpg|jpeg|png|pdf)$"); var f = this.files[0]; $.each(this.files, … | |
Hi, This will do the job, but it's ugly, so how to do this more elegant? $('ul').prepend('<li></li><li></li><li></li><li></li><li></li>'); $('ul').append('<li></li><li></li><li></li><li></li><li></li>'); Thanks in advance! | |
I use append to add another form of it and it work but then in the second column if I'll choose a product name in the second column the price in the first column will also change and it will not place any price in the second column and same … | |
Need to display xml file in html div by using external JavaScript? | |
I'm trying to use fullPage.js but its only ever showing my first section! I have my sections set up like this <div class="section"> Section 1 </div> <div class="section"> Section 2 </div> <div class="section"> Section 3 </div> and I inatlize like this <script> $(document).ready(function() { $('.wrapper').fullpage({ sectionsColor: ['blue', 'red', 'green'], }); … | |
I feel like this is a very dumb question but please excuse me if there is an obvious answer. I have just recently seriously dug into JQuery (loving it by the way). Anyways in the code below you can see I have the color to animate to white and green … | |
hi guys i just found wierd thing, my cookies work in local(Windows) but, after i pushed to server (Ubuntu), the cookies null (empty). this the code to set cookies: set: function(name, value, duration, domain, path, secure) { name = this.prefix + name; if (duration == null) duration = this.duration; if … | |
Hi.. I’m trying to create circular menu bar,but my menu bar is nearly similar to tympanus circular menu bar(visit [Click Here](http://tympanus.net/Tutorials/CircularNavigation/index2.html)) but in tympanus if we want menubar we must click open/menu button I want menu bar(fixed) to be display without any any clicking and instead of button i need … | |
Title should be load ajax inside ajax because facebook comments load via ajax I am building an all AJAX site for a Facebook iFrame page and am having an issue. All the pages and what not load up dynamically just fine, but some pages use the Facebook commet system. After … | |
Hi, i'm trying to implement a flot.js graph using a custom php array as data. Here is what i've done : <?php foreach ( $dynamic_prices as $limit => $price ): $coordonnees[] = array($limit,$price); endforeach; ?> <?php echo json_encode(($coordonnees), JSON_NUMERIC_CHECK); ?> This code outputs : [[5,9],[6,8]] is it the right format … | |
Hi there, I have a row of checkboxes and I want the following: - when clicking the child it has to select/unselect all parent checkboxes - and you uncheck one of the child checkboxes, the parent should also uncheck. Here parent ->child select/unselect attached. <script language="JavaScript"> function checkAll(theForm, cName, status) … | |
I have a page which has a form table. It displays select option when an option is selected the user clicks button and it runs choosecake.php which has query for updating. I need the select to be dynamically updated and display the success/error message like "updated" or "no results" on … | |
Hello! I am trying to make a custom drop down list, each row having two selectable options. To be more precise, I want on each row to have two options: select item(which should act as a implicit ddl works) or delete selected item (which removes the selected item from the … | |
I'm trying to run a script that clicks on two seperate buttons/Ids on the same website. I want to run **first** document.getElementById("add-to-cart").click() which will redirect me to the **cart/basket page** of an online store once I'm there, i want to run document.getElementById("checkout").click() which will take me to paypal. How do … | |
<a href="javascript:inventoryCheck_panel.open('paypalexpress');" class="button cta_button" data-btntype="hyperlink" data-btnname="cart_paypal" onclick="return runCMConversionEventTag({conversionCategory: 'Shopping Cart', conversionEvent: 'PayPal Checkout'})" title="Check Out with PayPal" id="cart_paypal_button" tabindex="6500"><span tabindex="-1"></span></a> is this code but i need help to click on it.. | |
I have an page that outputs records from a database (php/mysqli). I'm using TinyMCE to enter in information into the database. I'm trying to create an image gallery that uses Lytebox to view the images. By replacing a div in the record with an on-the-fly iframe containing a script that … | |
Hello, Am new n angularjs. Am using angular bootstrap datepicker First issue 1] I want to use calendar for choosing only month and year but am not able to I did the all ways but all are unsuccessful 2] I want to remove Today|Weeks|Clear buttons from datepicker as per gievn … |
The End.