3,446 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
569
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
211
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 sh4bbz

hi, i created this code a long time ago and during that time i had all the info i needed to do a save as PDF but now its all gone and the client wants that option so no one can change it. code below: [CODE] <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for diafol
0
1K
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 mbarandao

Hello: I need some assistance with a jquery/javascript code. I have a form with chain-linked list box of product, and prices. Each product is inside a <tr> which are added as needed. So there can be many items added to the form. The total of the items cost (qty*cost) from …

Member Avatar for mbarandao
0
753
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
179
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
127
Member Avatar for kyleo92

I am attemping to paginate for a public salaries database I am building for my newspaper. I have the code figuring out that it should only display X rows, however, each page displays the same rows. I also have noticed that clicking the links I've created for Previous/Next Page only …

Member Avatar for kyleo92
0
289
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
186
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
216
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
279
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
378
Member Avatar for shelexelex

I want to sum the values of the 'countryamt' column and echo it out. The inputs are coming from the 'matconfirmation.php'. I stored all the inputs in an array, but i dont know how to sum the values up. The bold part of the code was what i tried doing, …

Member Avatar for diafol
0
318
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
952
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
487
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
460
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
138
Member Avatar for alex910TN

hey guys, I am really new to UI design and I am trying to finish building a simple website to include on my resume. My problem is that I have a login page with a radio button asking the user if they are an existing customer. If they are they …

Member Avatar for Patrickoller
0
877
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
419
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
912
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
509
Member Avatar for mmcdonald

I'm having difficulty opening message content for each unique message because I'm struggling to get the PHP variable `$message['id']` to a url defined in a javascript file. My foreach loop that echos out all of the messages for the user: foreach($mess_data as $message){ echo' <tr '.(($message["read"] == '0') ? 'class="unread"' …

Member Avatar for htmlearner
0
2K
Member Avatar for gahhon

Let's say my HTML markup have these div id <div id="div1"> //Contents </div> <div id="div2"> //Contents </div> And i am trying to response redirect to some page which focusing on a specific div id in the code behind.. any tricks would be archieve this? Due to my webpage is applying …

Member Avatar for gahhon
0
1K
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
167
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
202
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
250
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
585
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
116
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
233
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
189
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
400
Member Avatar for xmangkan0rx

I tried the instructions on the website on how to use it. But it doesn't work. Btw here are my codes: **select3.php** <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script type="text/javascript" src="dynamic_table.js"></script> <script type="text/javascript" src="jquery.jCombo.js"></script> <script type="text/javascript"> $(function(){ $("#category").jCombo("getCategory.php"); $("#type").jCombo("getType.php?id_cat=",{parent:"#category"}); $("#desc").jCombo("getDesc.php?id_subcate=",{parent:"#type"}); }); </script> </head> …

Member Avatar for LastMitch
0
183
Member Avatar for xmangkan0rx

Good Day! :) I created a chained select using php and jQuery like on this page (http://www.yourinspirationweb.com/en/how-to-create-chained-select-with-php-and-jquery/) and I created a javascript to add and delete select tags I get it somewhere on the internet but what happening is when I choose a category on the first row everything on …

Member Avatar for LastMitch
0
535
Member Avatar for umandajayo

I have a requirement which is getting cross domain json data via Ajax. I need to maintain 2 different server (Server A and Server B). Server A only contain static contents. ie: JS, Images, Css Server B only contain dynamic contents ie. php driven scripts According to above requirement I …

Member Avatar for ryantroop
0
342
Member Avatar for patk570

Hello, I have 2 functions that I wrote to show a hidden div, I would love to convert this to jquery but unsure how. Also, I want a function that will allow me to change the onclick function to open and close and show an arrow > and arrow down... …

Member Avatar for patk570
0
222
Member Avatar for GeekPlease

Good day folks, I saw this site http://www.adhamdannaway.com/ and wondering how did he do the hovering thing in the home page. The one with his picture. Can someone help me to figure this out. Thanks.

Member Avatar for theHop
0
123
Member Avatar for innocentgee

Hi Guys, Newbie here... Am looking forward to populate a list from a dropdown list into a multiselect list. Any idea now how am gonna get it done? Thanks...

Member Avatar for innocentgee
0
77
Member Avatar for Nadera

Hello, I am bignner in using JQuery with PHP, I have a form that culcalate the sum by using JQuery and displayed into HTML form, then I want to take this value from the form and inserted to the database by using PHP. Could any body help me HTML code: …

Member Avatar for paulkd
0
299
Member Avatar for patk570

Hello, I have one input field that is collecting some information like this: <label>Tax Rate</label><br><input type="text" class="input" name="taxrate" id="taxrate" onblur=" return getTaxrate()" value="<? echo $row['taxrate'] ?>"> what I am wanting to do is onblur convert from say 7.63 to .0763 for the tax rate. I am only using one input …

Member Avatar for patk570
0
216
Member Avatar for Mallika_P

Jquery resizable handles does not working correctly after rotating the div, i changed the handles after the rotation of div into correct position., but when resizing the div it resize opposite direction, for eg we move handle se means the position nw want be fixed but it moves away. Please …

Member Avatar for Mallika_P
0
2K
Member Avatar for designershiv

Here my var = var path = 'http://www.google.com/test/'; how to remvoe the last forward slash or test/ Thanks in advance

Member Avatar for designershiv
0
118
Member Avatar for johnanthony.sanz

<?php ob_start(); session_start(); include ('database_connection.php'); if (isset($_SESSION['myusername'])) { $logout = '<li><a href="logout.php">Logout</a></li>'; } ?> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>MVRAM</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="description" content=""> <meta name="author" content=""> <!-- Le styles --> <link href="bootstrap/css/bootstrap.css" rel="stylesheet"> <link id="switch_style" href="bootstrap/css/united/bootstrap.css" rel="stylesheet"> <link href="css/main.css" rel="stylesheet"> <link href="css/jquery.rating.css" rel="stylesheet"> …

Member Avatar for pritaeas
0
977
Member Avatar for Mallika_P

While resizing rotated element., it moves left side with positive or negative value., but shows left position value same in console log. Any idea? Thanks

Member Avatar for Myronz
0
97
Member Avatar for karen.frias0316

Hi! my first time here. i'm new to programming. I have a code which checks if a .txt and .jpg file exist in the same folder.(*this part is working well*) after checking it needs to display the value of .txt file and the .jpg file inside a modal popup. (*in …

Member Avatar for LastMitch
0
234

The End.