2,530 Topics

Member Avatar for
Member Avatar for mushahidh

I am using this script for exporting data from HTML table to Excel. <script> var tableToExcel = (function() { var uri = 'data:application/vnd.ms-excel;base64,' , template = '<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40"><head><!--[if gte mso 9]><xml><x:ExcelWorkbook><x:ExcelWorksheets><x:ExcelWorksheet><x:Name>{worksheet}</x:Name><x:WorksheetOptions><x:DisplayGridlines/></x:WorksheetOptions></x:ExcelWorksheet></x:ExcelWorksheets></x:ExcelWorkbook></xml><![endif]--></head><body><table>{table}</table></body></html>' , base64 = function(s) { return window.btoa(unescape(encodeURIComponent(s))) } , format = function(s, c) { return s.replace(/{(\w+)}/g, function(m, …

Member Avatar for pixelsoul
0
4K
Member Avatar for sugumarclick

Basically I'm having three text input. First is autocomplete (book name). Second is book price and third is book author. Please help me in changing the 2nd and third input text box values according to the selection of autocomplete input box. Fiddle setup is at http://jsfiddle.net/premgowda/UC74L/6/ Json code below from …

Member Avatar for noelthefish
0
561
Member Avatar for Indians

here i am trying to do calculation for javascript dynamic rows. i have done auto multiplication in few rows using this function . but i want to calculate the tax percentage. how can i do that? help.. <script src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <script> var $k = jQuery.noConflict(); $k.fn.sum = function() { var sum …

Member Avatar for Indians
0
1K
Member Avatar for Violet_82

Hi guys, I was wondering if you can help me at all. I've just built a small html page which is meant to keep track of overtime. The data is entered through input fields. Then with jquery I extract the data from the input fields, create and populate a table. …

Member Avatar for diafol
0
209
Member Avatar for Indians

![d7f49899d09d4dd84f5105080c780de5](/attachments/small/4/d7f49899d09d4dd84f5105080c780de5.PNG "align-left") here i attached one image. look at this.if i selected the Guest Currency then automatically Guest Currency Value should shown in the next text box. how to do that? is there any javascript, jquery plugin? Guest Currency : <select name="gcurrency" tabindex="21"> <option value=""></option> <option> INR India Rupees </option> …

Member Avatar for diafol
0
3K
Member Avatar for game4tress

I'm creating a chat system using Codeigniter and I need to update a textarea with a field in the database each second. For that I'm trying to use jquery for the timer but I don't know how I can update the textarea with data from the database, with a call …

Member Avatar for game4tress
0
2K
Member Avatar for Aleshanee

I try to create with jquery a simple hover-sliding. [Here is my example](http://jsfiddle.net/Aleshanee/BgdMY/12/embedded/result/) My first problem ist the mouseenter is, when a users the duck and while the duck slides up the user is going to mouseenter the cow, the sliding want to show both slides and do ugly stuff …

Member Avatar for LastMitch
0
177
Member Avatar for mattster

Hi again, We all know jQuery can really spice up a website, so what would plugins could I try to make my pages even more exiting? (ie. typeahead.js) Thanks!

Member Avatar for rhodoscoder
0
118
Member Avatar for Master Mascus

I need jquery code for DOB range validation(age should be at least 15) using the .validate() jquery function. I am not able to create the function in the rule, help anyone ?

Member Avatar for stbuchok
0
184
Member Avatar for GeekPlease

Good day folks, I am working on a project now and I'm wondering how to detect if a div is visible in the screen while the user is scrolling on the page. Hope someone will be able to shed some light. Thanks :D

Member Avatar for minitauros
0
214
Member Avatar for designershiv

Hi, I like to scroll all the scroll bar at the time.first scroll is working fine.but other scroll not working anyone have idea <html> <title></title> <head> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script> <script> $(document).ready(function(){ $('.box').each(function(){ $(this).bind('scroll',function(){ var leftPos = $('.box').scrollLeft(); var leftPos = $('.box').scrollLeft(leftPos); }); }); }); </script> <style> .box{ width:500px; overflow-x:scroll; } .clear …

Member Avatar for designershiv
0
277
Member Avatar for dany12

I am still learning Laravel 4 so I have a resourceful controller tasks and I am having a problem implementing my jquery. My delete works fine without jquery so i think that I am not providing the proper url I have found one problem I don't know how to pass …

Member Avatar for cereal
0
377
Member Avatar for Burhan_1

0 down vote favorite In new google map there are several travel mode like driving, bicycling, walking and transit but they also added fly mode also. I can choose fly mode in new google map but i cant get fly travel mode in google maps v3 api. I want to …

Member Avatar for Burhan_1
0
948
Member Avatar for Kleon

Hi guys, i need help with modal popup, i have already create modal pop up, but what i want is that tha modal page to show up just for 5 seconds than automatically to be removed. Heres My code... <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for Kleon
0
475
Member Avatar for NextCom

I'm using jQuery contains to show records in a page that contains information that matches a search field. This functions works very well, a bit too good actually... The challenge is that it also searches for matching words in SELECT elements that is inside the table column. $(this).find('td:nth-child(2)').each(function () { …

Member Avatar for paulkd
0
450
Member Avatar for trishfernan

Hi, I am delevloping an ebay website. I need to develop the following as explained in the attachment. Just need some tutorial to learn and start developing the system. Please see link [Click Here](http://i1190.photobucket.com/albums/z452/trishfernan/Explanation-iconchange_zps5f958690.png)

Member Avatar for minitauros
0
133
Member Avatar for Burhan_1

I created a script which shows result on a new window popup window.open('http://google.com','_blank','2','width='+screen.width+',height=50,left=0,top=0,toolbar=0,location=0,menubar=0'); window.open('http://yahoo.com', '_blank','3','width='+screen.width+',height=50,left=0,top=200'); First popup open easily but others are blocked in browser, i want to disable popup blocker when my domain load or when unblock popup when my domain loads. I am creating a script like farecompare …

Member Avatar for dany12
-1
396
Member Avatar for littledevils326

I have an HTML table which displays records from a database. The data are stored in sql database and the records are retrieved as a JSON object and then appended to the table. Rather than loading all the data in the table, I have a button which allows the user …

Member Avatar for LastMitch
0
902
Member Avatar for while(!success)

Hi guys, I've been trying to implement autocomplete on a form I'm creating and was successful with using a global variable as the source. Now i'm trying to use a hiddenfield as the source, but it does not seem to work. Firebug shows the error "414 Request-URI Too Long." Is …

Member Avatar for LastMitch
0
506
Member Avatar for pawan768

Hi i want to check the scroll position , like if its greater than 200 from top they it may generate a popup for signup <script> jQuery(document).ready(function($) { // hide #back-top first // fade in #back-top $(function() { $(window).scroll(function() { if ($(this).scrollTop() > 100) { alert(123); } else { alert(321); …

Member Avatar for pawan768
0
165
Member Avatar for shrikanthnk

Hi below code prints tempnum correctly but not tempname. Kinly look into this. <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".mylinktempnum").click(function(){ alert($(this).attr('href').match(/tempnum=([0-9]+)/)[1]); *alert($(this).attr('href').match(/tempname=([a-z]+)/)[1]);* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num&tempname=$name\"></a> ?>

Member Avatar for diafol
0
198
Member Avatar for weeraa

I want to call jquery function (or something like that) from vb code. This is what i need. There is a VB function named Calculation(). It takes few seconds to complete the calculation. (Let's get it is taken 10 Seconds) In this 10 seconds the user don't know something is …

Member Avatar for JorgeM
0
2K
Member Avatar for dany12

I need a way to store x y height and width in 4 jquery variables I was thinkink about the jquery ajax get but don't know how to achive this. This is my code <?php $result = $pdo->query('SELECT * FROM figures'); foreach ($result as $row=>$value) { echo '<li>'."My value is" …

Member Avatar for dany12
0
247
Member Avatar for brandon66

Hello everyone, im trying to implement select 2 with jquery validation engine pos-absolute but i cant seem to get it right does anyone know how i would get this working correctly? When an option is selected in the select box the validation engine will still say its required. not allowing …

Member Avatar for hag++
0
580
Member Avatar for erum

hi to all Please let me knwo how to cover these with datatable if data comes from northwind datatable http://support.softwarefx.com/jChartFX/article/2501243#82490a45-4c79-e211-84a5-0019b9e6b500 in above link data is hard coded ..

Member Avatar for erum
0
113
Member Avatar for accra

Am using ajax to populate a drop down list, and it works fine, but i just can't find a way to make choosen.proto to work. It works on other drop-down, but not the one populated with ajax. In short, the form must allow the user to select multiple items Here …

Member Avatar for accra
0
228
Member Avatar for shrikanthnk

Hi , Kindly help me to display tempnum when ahref is clicked. Looks like code marked as Italic requires needs to be updated?? <html> <head> <script type="text/javascript" src="jquery-2.0.3.min.js"></script> <script type="text/javascript"> $(document).ready(function(){ $(".mylinktempnum").click(function(){ *alert($(this).attr('this.tempnum'));* }); }); </script > </head> <body> </body> </html> <?php <a class=\"mylinktempnum\" href=\"home.php?tempnum=$num\"></a> ?>

Member Avatar for shrikanthnk
0
187
Member Avatar for hasan101002
Member Avatar for sarthak25
Member Avatar for caltech

I have this: http://jsfiddle.net/calyne/DwV4z/3/ I want to make it like this: https://github.com/jakiestfu/Youtube-TV which is great, beautiful, just that it doesn't work for all channels, mysteriously. The one I'm trying to implement it for in particular happens to be among those unfortunate channels. So I've turned to the former script, except …

Member Avatar for LastMitch
0
399

The End.