15,688 Topics

Member Avatar for
Member Avatar for Hilal2009
Member Avatar for pritaeas
0
110
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 SimonIoa

Hello i want to pass a value with the id #allcountries. `html += '<option style="width:90%"><a href="'+v.country_id+'">'+v.nam+'' +'</a></option>';` `<div id="allcountries"></div>` `alert($("#allcountries"));` when i select a country it returns [object Object] on the alert when it should return the id of the country

Member Avatar for SimonIoa
0
341
Member Avatar for rpv_sen

Hi Friends. i am working on my internal work. i am having n dynamic rows, Each and every row contain total. i want to sum all the rows total. i have attached the screen shot for the reference

Member Avatar for diafol
0
2K
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 Adrian_11

Create a program that will accept prelim, midterm, and final grade, the overall grade is 20% of the prelim grade, 30% of the midterm grade and 50% of the final grade. The program will display “EXCELENT, you can ENROLL again” if the overall grade is greater than or equal to …

Member Avatar for stultuske
-2
212
Member Avatar for Siberian

I'm creating a pseudo type script at the moment using a well known programs API which uses JS. When the user is prompted and enters in a name since the API uses ECMA 3.0 I cannot directly use String.Prototype.Trim() as it's not supported in ECMA 3.0. I have a prompt …

0
275
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 Dat One Lefty

I currently have the code function httpGet(theUrl) { var xhttp = new XMLHttpRequest(); xhttp.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { return this.responseText; } }; xhttp.open("GET", theUrl, true); xhttp.send(); } when i replace return with code to set a div, it replaces, but when I …

0
107
Member Avatar for rjusman90

I am quite new to JS and AJAX and I am having a hard time understanding what the other person has implemented and how I can get it to function properly. this is my login CI code that is working perfectly, but now i want to do it with ajax …

Member Avatar for rjusman90
0
238
Member Avatar for koneill

All, I have a odd scenerio which I'm looking to resolve - what is the best way in CGI/PERL to detect the referring page - as depending on if the referring page is from http://www.mysites.com/wholesale - I need to display a button on the page that when clicked will be …

Member Avatar for koneill
0
431
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 Rishi_3

I'm trying to get the text value from a select dropdown menu that is populated by a database using the following function: <?php function searchintspokenlang() { require ('../../../connect_db.php'); $queryintspoken="SELECT Language FROM languages"; $result=mysqli_query($dbc, $queryintspoken); while ($row = mysqli_fetch_array($result)) { echo "<option value='" . $row['Language'] . "'>" . $row['Language'] . "</option>"; …

Member Avatar for James_62
0
367
Member Avatar for koneill

All, I have a .mov file and am wondering what is the best way to have this autoplay so that users don't have to hit the play button while viewing on a IPhone device. I tried utilizing the ac_quicktime.js script as such (I went to the ac_quicktime.js - a few …

Member Avatar for rproffitt
0
612
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 Zagor_1

I edit [this][1] todo app and make a multiple topics version of it. Like todos for X, todos for Y, todos for Z... However i couldn't find a proper way to edit this part : app.param('task_id',function(req,res,next,taskId){ req.db.tasks.findById(taskId,function(error,task){ if(error) return next(error); if(!task) return next(new Error('Task is not found')); //if there's data, …

Member Avatar for rproffitt
0
223
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 mblan180131

So I'm making an OS in javascript/html. I made the login screen (although it's as secure as a calculator, it looks quite nice). I made the Operating System Interface using a little JavaScript and CSS, and put an iframe in the window. However, whenever I load the interface, it looks …

Member Avatar for Matt_17
0
450
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

The End.