2,530 Topics
| |
So i got a color selector from http://www.eyecon.ro/colorpicker/ How do i save the selected color code in a php var so i can insert it in a MySQL db ? | |
I am writing some jquery script that will run across a large amount of completely different web pages (different domains too) and it will surround certain words on the page with html tags to style them up - make them more noticeable etc. Here's some sample code I've written... $('body').ready(function() … | |
Hi, My objective is to replace all pattern words that match a particular regex with that word surrounded in some html tags like so. Example html: <p>This is some text where the word text will get surrounded by something else.</p> After regex: <p>This is some <span class='mydiv'>text</span> where the word … | |
How do I delay an animation in jquery? I have a <p> in to the page as soon as the page loads. I have another <p> that I want to slide in only after the first <p> finishes coming in, and then I want an image to move when that … | |
I am using this [application example][1] and try to model it to fit my needs. I am modelling your index.html.erb to fit my needs. I want to get rid of "start" button in order to prevent single-file upload (I dont want it), but it seems that "start upload"(multiple upload)-button is … | |
Hi, Doing a bit of research at the moment on how to structure my web App. So far I've decided on using PhoneGap with jQueryMobile client-side, which will request and update information in a database hosted on a remote server running php and mysql. From the tutorials I've seen online, … | |
I want to implement simple file upload with progress I like the services provides by [jQuery-File-Upload](https://github.com/blueimp/jQuery-File-Upload) I tested the example provided with script <!DOCTYPE HTML> <html> <head> <meta charset="utf-8"> <title>jQuery File Upload Example</title> <style> .bar { height: 18px; background-image: url('img/progressbar.gif'); } </style> </head> <body> <input type="text" name="textfield" /> title <input … | |
Hi People, Got some jquery issue. I'm validating a Contact form. All fields are working fine except <textarea> I mean I wanna make all fields mandatory including textarea... --------------------------------------------------------- HTML CODE --------------------------------------------------------- <div class="formbox"> <form id="contact_form" action="#" method="post"> <span class="error" id="name_error">Please Enter Name !</span> <span class="error" id="email_error">Please Enter Email address … | |
Hi I want to develop page. Where there will be three mp3 files as audio. 1.mp3 , 2.mp3 & 3.mp3 files. and there will be three button. button 1 , 2 and 3. Initially button1 will be enabled and other two will be disable. then when user click on button … | |
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. … | |
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"> … | |
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) … | |
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, I'm after some thoughts and opinions regarding the navigation/behaviour of a portion of a site I'm working on. The site is a shop, which is built with the Big Cartel framework, and is my first attempt at using more than just a couple of lines of javascript - or … | |
i am working on a project.In which I am displaying the transaction list.and if admin click on any of the row then the row will disappear and a new row with form to update that row will open with cancel button.Here admin can update or cancel .if he can cancel … | |
Hello guys, Don't know if this is the related thread to post this sort of question so i ask a mod to move it if necesary. I have some custom Like buttons on my website for twitter, facebook and Gplus (but think that is the same thing) and i want … | |
I have this simple slideshow script and just need to make the divs fade in/out when the user clicks 'prev' and 'next' arrow. Currently there is no effect atall which looks a bit harsh. I'm sure this can't be too difficult - however, I'm new to this stuff - Thanks. … | |
Hi everybody, I have this really little piece of code wich I want to implement inside wordpress: http://jsfiddle.net/YPAy6/9/ I simply need how or where to put the "function" and how to call it from a post in wordpress. Any idea? really thanks! PD: I'm loading all scripts from google's cdn … | |
First time click: ![Screenshot-110](/attachments/small/3/Screenshot-110.png "align-right") Second Round Mouse click: ![Screenshot11](/attachments/small/3/Screenshot11.png "align-left") The above images shows screen short of a popup that is shown by clicking on a link from a html table i created using Jquery DataTables plugin and data from mysql database. in essense, when i click the linkable … | |
Hi, I'm have experience in Javascript but not in the UI design/CSS, so maybe what I need to do is very simple, but because of my knowledge is complicated for me. I need to create a 'component', that has 2 or 3 buttons together and they behave like radio buttons, … | |
Hi, I am working on a tooltip which shows the content in tooltip if present. But the code I am using shows the empty tooltip even the content returned is empty. I don't want to show tooltip or qtip when the content is empty.. :( Here's my code HTML echo … | |
I have implemented 3D CoverFlow effect slider in jQuery, but its not working in IE7,IE8 so any one can give me solution for this issue. url of coveflow effect slider http://codecanyon.net/item/icarousel/full_screen_preview/2527180 This jQuery function is not working in IE7,IE8 and IE9 and also its a paid versions. | |
Hi, I am struggling with this..I have multiple images and data with same class. As I click on a link with class single_image it should pop up the corresponding div. but its not working every time i click it shows me the same image. I have tried using $("a.single_image").each( function … | |
Hi, I'm using the big cartel framework to build a site, and am trying to make an AJAX call - currently without success. My code is as follows: jQ('body').on('click','#closeDetails',function(){ // If necessary condition met if (jQ('#productDetails').attr('class') != undefined){ // Store appropriate category var destCategory = jQ('#productDetails').attr('class').toLowerCase(); // Attempt to alert … | |
I have an API that supports both JSON and JSONP. Obviously, being a data provider, I want the people who request my data to cache it. However, jQuery's $.ajax() function says the following about their caching feature: >cache (default: true, false for dataType 'script' and 'jsonp') Type: Boolean If set … | |
I have this code example <?php $sel_query = "SELECT * FROM tbl_name ORDER BY id DESC"; $res_query = mysql_query($sel_query); while($arr_my_array = mysql_fetch_array($res_Query)){ $cl_id = $arr_my_array['client_id']; ?> <input type="hidden" id="hdn<?php echo $cl_id ?>" name="hdn<?php echo $cl_id ?>" value="<?php echo $cl_id ?>" /> <input type="button" id="btnget<?php echo $cl_id ?>" name="btnget<?php echo $cl_id … | |
Using Handlebars.js, I am trying to hide the first element in an array. It would be conditional to an option being true/false. Can this be done without a helper? Thanks Horizontal Menu with > as separator {{#if options.display-home}} <li class="home">{{options.home}}</li> {{/if}} /*If display-home true hide initial separator*/ {{#recursive data "menu-breadCrumb"}} … | |
I use this function http://goo.gl/Luxkx to create Fetching Posts by Category with jQuery , but the problem is that I need pagination. For example, I have in some categories more than 10 posts. The first 6 posts show up okay, but I need pagination to show the rest. You can … |
The End.