15,120 Topics
| |
I have been developing a rails app for a week now. I use jquery-rails gem to use jQuery and everything was working fine. But today, when I started the development server, jQuery just wasn't loading. The console gave the error `jQuery not defined` and `$ not defined` and so forth. … | |
Hello All, Objective is to manage **radio button Dynamically**. One should be able to *add/delete radio button by ADD and DELETE button* in form. To make CLEAR the question, please look at the image "BUTTON". In addition, it should be displayed with updated values (*Need to manage from database side … | |
It is not working AFTER refresh anymore: // php <div style="padding-left:280px;"> <!-- Add --> <input type="button" class="btnAjouterConfigure" id="add" value="Ajouter" style="text-decoration:none; width:100px; height:41px; line-height:34px; font-weight:bold;" onclick="addnature()"/> <!-- Delete --> <input type="button" class="btnSupprimerConfigure" id="delete" value="Supprimer" style="text-decoration:none; width:100px; height:41px; line-height:34px; font-weight:bold;" onSubmit="return deleteRadioButton();"> <div id="fooBar"></div> </div> <br /> <div style="height:auto; padding-left:280px;" id="mainRadio"> … | |
Hi, I would like to know how can make my javascript works after an ajax request. This is my page : <script src='includes/dragResize.js'></script> <script src='includes/domdrag.js'></script> <div id='events-loop'> *IT KEEPS RELOADING HERE*/ </div> <script src='includes/ajax_events_loop.js'></script> And my Ajax file : $query=mysql_query("QUERY"); while($result=mysql_fetch_array($query)) { <div id='events'>The events</div> <script type='text/javascript'> var resize-1 = … | |
Hi all friends, As per the below mentioned code, the given No of votes should calculate in percentage and entry per field should not exceed from 100%. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script type="text/javascript"> function test(vote) { … | |
Hi, I saw in Django framework , in there we can inherit the templates from common base.html. In base.html all the common things are defined , And in other templates content of the pages are changed . I just want define all common div's like header , footet and nav … | |
Hi, I am working on sproutcore framework. My objective is to retrieve the data from fixtures and load into data source. I am able to achieve it with the following code SC.Store.create().from(SC.Record.fixtures) But it is getting failed by using the below code store: SC.Store.create().from(SC.FixturesDataSource.extend({ simulateRemoteResponse: YES, latency: 250 })) What … | |
Hello all, I have a dialog window with a jqgrid. Wihin the jqgrid I have. multiple dropdows, one for each of the 50 states. And each state takes a different row. Depending on what is going on from output in a database each one of those states is to have … | |
I'm using WebIM for chat support on a website. I would like to be able to setup a timer for when a client initiates a chat session, if an operator/tech does not respond within 'x' seconds I would like the page to redirect to another page where the client can … | |
hello forums. i have small problem im creating a simple page (no php ) just javascript and html. i have order.html which has a list of items. and then when you click the drop down menu it will automatically display the price of the item depending on the quantity on … | |
I came across this plugin called [baraja](http://tympanus.net/codrops/2012/11/13/baraja-a-plugin-for-spreading-items-in-a-card-like-fashion/) by accident. Looked interesting enough to share. | |
**I'm using [Ascensor.js](http://kirkas.ch/ascensor/#/Home)** I have five div <div id="about" class="section"></div> <div id="home" class="section"></div> <div id="services" class="section"></div> <div id="portfolio" class="section"></div> <div id="contact" class="section"></div> I need to create layout like, about => left home => center services => up portfolio => down contact => right Please help to create layout | |
Hello, I have a function to insert a new user into the database and it returns an empty data from the page I use to post it with."Undefined" actually... Here is the code: //insert new user into database $("#insert_new_btn").live('click', function(){ var user_username = $("#insert_new_user").val; $.ajax({ type: "POST", url:"insert_nw_usr_script.php", data:{insert_new_usr:user_username}, success:function(insert_a_user) … | |
Hi all, I have attached a CKEDITOR instance on a textarea in a CMS, and it all works fine on localhost, but after uploading the site to the server, I cant see the CKEDITOR toolbar. The textarea is not turned into an instance and further more, the textarea is not … | |
Hello, I'm trying to use Dropkick Jquery select box plug in for my chained select box. However, the plug in only works for my first select box and the second select box did not show up. I have two php files, the form and the func.php. Any help would be … | |
Hi all im having slight trouble trying to escape this php array index in a javascript block <script> var herp = $('#item').val(); var derp = '<?php echo $array['+herp+']['0']['name'];?>'; </script> problem is the browser keeps making the whole line php, oposed to counting the var herp as javascript. any ideas how … | |
Get listbox values added via javascript on server side via hidden field.... See more: ASP.NET Get listbox values added via javascript on server side via hidden field.... | |
i am printing the values using ajax. Can i store those value in database? | |
Hello, I learning javascript and trying to reverse engineer something I found on a site to understand it. Here is a link to the full script... http://jsfiddle.net/WHQKA/ I have gotten to understand most of it so I know what is going on and can learn from it. However this line … | |
A minor update to the 1.6 version of jQuery was just released today. After a big outcry of version 1.6's changes to the way properties work, the jQuery team quickly released version 1.6.1 to make the new techniques more compatible with the older functionality, hopefully preventing sites from breaking. The … | |
Hi all, I am trying to create a website where there are three images on the screen. The user needs to choose one of the images. The image they select needs to be recorded either in a text document or into a mysql database. For example Image 1 Image 2 … | |
...and the Microsoft AJAX Library, err, and the ASP.NET AJAX Control Toolkit. Yep, Microsoft has not only finally come up with an official name for the AJAX technologies which until now have been known collectively as ‘Atlas’ but has also split it into three individual products. All are expected to … | |
Learning html and javascript so I went to building this calculator. I'm not sure what my issue is but I feel it's something with the startcalc() function calling the checkarray(). Please take a look at my code on jsfiddle and you will see my two functions at the bottom of … | |
Hello guys, i'll try to explain the problem i am facing here. I had searched for many file uploaders with drag and drop interface. I came across something at http://demos.9lessons.info/multiupload/index.php called the multiuploader. I saw the code and it was a bit of nightmare to me as am not so … | |
Hi guys, I'm trying to work on a form with jquery. I have a table with 9 cells, 9 inputs and 9 delete links. I want to delete de particular cell on which i've clicked delete, but cannot figure it out how. I am able to delete the first element … | |
I have found myself well out of my depth, using a template to create a web site with both JS and PHP scripts. Perhaps someone here can help me? The single page website is accually finished and works well when viewed in a browser from local files. These have been … | |
Hi, I want to pass String array to the javascript function when the page is getting loaded. Iam using jsp and javascript for doing this. But could not able to send the Stirng array to the javascript function. <%! String msg[] = {"one","two","three"}; %> <input type="button" name="save" value="Save" onclick="show(msg);" /> … | |
Hello guys, I'm in need of some thinking help. I want to build an auto-complete text input to find cars, but I want it to search for Car Models and Car Manufactor too. In example, if the user type 'For', the suggestions would be 'Ford - Car 1' 'Ford - … | |
I am beginner at AJAX. There are two Select Menus: Month & Year. The objective is to display data in the table **AFTER selection of YEAR**. Based upon selected values data should be displayed in the table. Thanks a lot in advanced. <!DOCTYPE html> <?php $year=$_GET["year"]; $month=$_GET["month"]; $year = array( … | |
I am uploading a form with file and other inputs and all that is working fine. But the problem is that it is loading a new page i.e www.mywebsite.com/controller/function. My code :- <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.js"></script> <script src="http://malsup.github.com/jquery.form.js"></script> <script type="text/javascript"> $(document).ready(function() { var options = { clearForm: true, resetForm: true … |
The End.