15,127 Topics
| |
For my site I am interested in using google and facebook login api using javscript. I have to do reauthorization also, once they logged in, for accessing some pages they have to reauthorize(re-enter password). Implementing this in facebook login api is much easier and in google, they mentioned we have … | |
Hi, I have kind of a weird problem and I can't figure what is wrong. This is my Ajax php page : <?php // Configure connection settings include('dbconnect.php'); include('functions.php'); // Fetch the data $timestamp=$_GET['t']; $dimanche='2013-03-03'; $samedi='2013-03-09'; $queryEvents=mysql_query("SELECT * FROM `events` WHERE `start_date`=`end_date` AND `start_date`>='$dimanche' AND `start_date`<='$samedi'"); while($resultEvents=mysql_fetch_array($queryEvents)) { echo"<div id='drag-div-".$resultEvents['id']."' … | |
#Web app state management# The current state of the user interface determines which application actions are enabled and thus which html elements are enabled for the user to invoke them. Classes are used in the html to indicate elements that need to be managed. Then jQuery is used to configure … | |
Hi all, I'm trying to change the border style of some buttons (but nothing is happening) with the following code: <script type="text/javascript" src="JavaScript/WS_Button.js"></script> which is in the <head> section. and: <td id="register_button_area"><input type="submit" name="register" value="register" id="register_button" /></td> <td id="login_button_area"><input type="submit" name="login" value="login" id="login_button" /></td> which is in the <form>. and … | |
Hi, i have a 2D array animal and i want to copy it to another 2D array myArray. can somehelp? the code below is not working. I am havine this error : Uncaught TypeError: Cannot set property '0' of undefined on line 7 var test=""; var myArray=new Array(animal.length); for (y=0;y<animal.length;y++){ … | |
Hi, I am using jquery to make some text scroll in to my web page. I want to know how to make it appear slowly. This is the script I am using: $(document).ready(function() { $('p').animate({"left":"300px", },"500"); }); I tried this, to make it go slower: $(document).ready(function() { $('p').animate({"left":"300px", },"500","slow"; }); … | |
I need help to create **Full Screen Filterable portfolio using jQuery** with thumbnails? 1. thumbnails will be Filterable 2. option to choose position of filter and thumbnail(right, left, top, bottom) 3. after click on thumbnail background image should change 4. slide in/out filter with small icon (**$('#filtertext').animate();**) 5. thumbnails should … | |
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 … |
The End.