2,533 Topics

Member Avatar for
Member Avatar for Jeremy_7

I need to validate a name field to validate if the name field is empty and if the name existed in my database. If it passes both the validation(the user has input a name that is not existed in my database), then the form will be submitted. The problem is …

0
188
Member Avatar for patk570

Hey guys, I have a code on excel, that will count the critera if there is more than one box filled out. =COUNTIF(C5:D14,"<>0") But now i am converting this code to jquery and i cannot figure it out. on my page, there is a toggle button, yes/no selector for autopay, …

Member Avatar for Airshow
0
523
Member Avatar for SimonIoa

Hello. I am getting an error on my console `TypeError: a is null jquery.min.js (line 2, column 2722)` that causes the page not to load correctly. Has anyone had the same problem.? could it be a conflict error? i use this version /*! jQuery v2.1.1 | (c) 2005, 2014 jQuery …

Member Avatar for Dani
0
249
Member Avatar for rudijuri

Hi all, There is a jquery method that has replaced toggle-event (that is deprecated in version 1.8, and removed in version 1.9)? Or is it necessary to use a loop? It was very convenient to have a different event depending on the number of clicks made, as indeed did jquery …

0
132
Member Avatar for Aeonix

Imagine a mailbox. You're about to write to a friend. From staff perspective, someone wants to email Dani, her mail is dani@daniweb.com, but has her in contacts list. You type in "Da", and little tool-tip informs you that it knows this mail, tooltip shows her full name "Dani" and her …

Member Avatar for Dani
0
327
Member Avatar for Aeonix

I hate sharing my code, but I don't have any other option. I tried everything to prevent it, but I need to find out what's wrong about it. http://pastebin.com/zMjne7P0 User focusses out input field (line 83)(I tried inputting ";" for tests, which should return error, as it's invalid name). And …

Member Avatar for diafol
0
596
Member Avatar for Patrick_18

I am working on a project that involves multiple formulas and cannot figure out how to make the formula flow using jQuery. The first formula that i am working with is from an excel spreadsheet: ((C5*24-(E5/2))/24)+((D5-(E5/2))/24) C5 refers to monthly lease or lcost1 E5 Refers to Down Payment or dp1 …

Member Avatar for Airshow
0
1K
Member Avatar for WpExplorerr

Hello :) Around a month ago, i got a custom bookmarklet coded for my wordpress blog and on top of the bookmarklet .js code there is this line var token = 'QzEJ5PJ3/RRO4cubQQiKKNg5au6SESUSkQOK5w9HKFgH6GxVu1NNilA5TYqoMBbz6sKdZP6eQ4GeLyZ1Ht5S/VrHIISvHXKFPxXNUZmRp1M='; I think this is some sort of API key or something that’s specific to a wordpress installation right? …

Member Avatar for Taywin
0
352
Member Avatar for AntonyRayan
Member Avatar for Mushfik

Hi, Can someone guide me on how to have php code echoing inside javascript <script> var cc1 = '<?php $_GET['cc1'];'; </script> <script type="text/javascript" language="javascript" > $(document).ready(function() { var dataTable = $('#employee-grid').DataTable( { "processing": true, "oLanguage" : { "sProcessing": "<img src='https://mir-s3-cdn-cf.behance.net/project_modules/disp/585d0331234507.564a1d239ac5e.gif'height='130' width='130'>", "sLengthMenu": "Show _MENU_ Records", "sZeroRecords": "No matching records found", …

Member Avatar for diafol
0
1K
Member Avatar for Aeonix

Typical code works like this: `$(...).hover(function () {});`. But it also needs to go away when it's loses it's hover. Is there a shorter way to do that than: `$("#x").hover(function () { troll(); });` `$("#x").mouseout(function () { untroll(); });` I just feel that smart people over at jQuery have thought …

Member Avatar for Aeonix
0
206
Member Avatar for AntonyRayan
Member Avatar for rproffitt
-1
212
Member Avatar for Brandon_9

This is a website I developed for online, desktop flash games. I make money off of ad revenue. Here is the link: http://www.quickscopegaming.com Could some of you give me your opinion on the site and what I should change/add? Also, here is the Facebook page if you want to give …

Member Avatar for AssertNull
0
304
Member Avatar for koneill

All, I have a packaged app - whose snippet is below and the form that displays shows ascending date (ascendingSort) and Title as the default items - I'd like to show the Publication Date (availableDate) and the descending date (descendingSort) as the two defaults - how in either Jquery or …

Member Avatar for Phaelax
0
341
Member Avatar for shany0786

hello all, i want to create dynamacially this thing and want to populate data alternatively on green,red,gray li and so on but i can't able to do it plz help i am weak in js :( <li class="green"> <div class="metro_tmtime" datetime="2013-04-10 18:30"> <span class="date">1/4/13</span> <span class="time">17:20</span> </div> <div class="metro_tmicon"> <i …

Member Avatar for gentlemedia
0
288
Member Avatar for AntonyRayan

Hi, by passing city name, I take all hotels reviews among on the requested city groupin by hotel id and user id that reviews should be greater than 0, The query works correctly, but taking values using while loop it combines all the hotel review values together. How to take …

Member Avatar for diafol
0
563
Member Avatar for jeffersonalomia

Hello guys, I have a problem on using the image slider plugin called "Unslider" which is a jquery plugin. I follow all the procedures / instructions on how to set up the codes but sadly it seems that the next and preview button styling doesnt work even if i follow …

Member Avatar for jeffersonalomia
0
2K
Member Avatar for SimonIoa

Hello i want to sort the returning data from my MySql database. i want to sort them by their type (1,2,3) This is what i ve done so far. PHP works fine returns all records $somevariable represents the AND to sort the records function all() { $type = $data->type; if($type …

Member Avatar for Bachu
0
291
Member Avatar for James_63

I got two dropdowns in each product in my cart. When i select my both option my class on success is not updating the cost. It only updates when i refresh the page, i dont want to refresh my page to get the cost. this is my script... $(document).ready(function() { …

0
212
Member Avatar for _1_14

** edit http post i need to remove courses stored in ids variable note i need remove courses selected not edit** in jquery i store values of removed courses in ids variable suppose i removed photoshop and flash it will store value of 3,4 in ids variable below code when …

0
156
Member Avatar for James_62

I have two dropdowns where ajax gets the value from it and send to my page calculates.php and then i will get a result based on both dropdown selection. But its not working well. The problem is that im getting a error that is saying **Notice: Undefined index: icms in …

Member Avatar for ryantroop
0
1K
Member Avatar for James_62

Guys i'm trying to get data joined from two tables. I have a select options dropdowns with Fabrics names the other has sizes. I am wondering how i will make my dropdown changes the values for each fabric in each size and multiply for the amount of fabric selected. this …

0
143
Member Avatar for hrushi9

I have created template for user to user chat module. Need help to complete realtime chat. Need some validations like highlight chat window on message received if it is inactive. `to_id` is collected in script (`var userid`). how to collect `from_id` , if user is logged in via php. currently …

Member Avatar for jkon
0
3K
Member Avatar for Mario A._1

I´m in disgrace with the framework Codeigniter version 2.2.0, it only displays the json response, no errors, no chart... Code **Model** function get_pata() { $this->db->select('theyear, cantidad_alumnos, rawkw, rawkwxgei'); $this->db->from('pdc_factor_gei'); $query = $this->db->get(); return $query->result(); } **Controller to handle data from Model and display in view;** function data_fik() { $data = …

Member Avatar for Mario A._1
0
372
Member Avatar for gentlemedia

I have the following which works fine for text inputs, textareas and selects with the class 'stored'. $(function() { $.each($('.stored'), function() { if(localStorage[$(this).attr('name')]) { $(this).val(localStorage[$(this).attr('name')]); } }); $('.stored').on('change', function() { localStorage[$(this).attr('name')] = $(this).val(), $(this).find('option:selected').val(); }); }); To store radio buttons or checkboxes with the class 'stored' in localStorage I've tried …

Member Avatar for gentlemedia
0
1K
Member Avatar for hrushi9

Working on law firm website. Different Lawyers have assigned different cases ( in same law firm). For that purpose it needs Family Tree implementation to collect clients history. There is main table `persons` personID primary key AUTO INCREMENT firstName lastName sex birthDate birthPlace deathDate deathPlace parents, spouse, childre all are …

Member Avatar for rproffitt
0
2K
Member Avatar for Rahul_56

I have problem while calling jquery functions it generates double output while when we do highlight questions and crossout on html content sometimes highlight and crossout also not working with selecting using Ctrl+A or select all. highlight and crossout values i am storing to database so, we can remain next …

0
230
Member Avatar for INSPIREDNZ

I need to create a form with five dropdown select lists. Making a selection in any list will cause the other lists to repopulate. It's fine if the page refreshes in order to repopulate the lists, although eventually I'd love to have it happen dynamically (using Ajax or JQerry). The …

0
153
Member Avatar for SimonIoa

Hello i want to return data using jquery like this function countries() { var html=''; var j=''; var encodedata=JSON.stringify({}); var url=apiBaseUrl+'api/countries'; ajaxPost(url,encodedata, function(data) { if(data.countries.length) { $.each(data.countries, function(i,data) { html= '<div class="panel panel-default">'+ '<div class="panel-heading">'+'<a href="'+data.country_id+'" class="feed-author" target="_blank">'+data.name+'</a>'+'</div>'+'</div>'; }); } }); } and this is php function countries() { try …

Member Avatar for diafol
0
242
Member Avatar for _1_14

**Problem** when remove any course from table list html his position in center or first it make problem in index in database **Details** IF I have list of courses as following : Delphi Flash Photoshop IF I remove flash by JQUERY remove button then click save button it delete flash …

0
132

The End.