1,694 Topics

Member Avatar for
Member Avatar for smepperson

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"}} …

Member Avatar for LastMitch
0
167
Member Avatar for aneeqtariq_143

i am trying to get the value of radio button which is generated by jquery. I think there is some problem in call events. Here is my code. HTML `<div id="divOption1"></div>` Jquery radio button generate `document.getElementById('divOption1').innerHTML = '<input id="option1" type="radio" value="1"/> '+ questions[currentQuestion]['option1'];` here i call jquery function to get …

Member Avatar for ruchi18
0
345
Member Avatar for SMode55

I'm making a administration panel which is generated with Jquery's live and post it works fine.Inside the generated page I'm trying to be able to edit a user in their respective rows so i want to run a post function to retreive the input of a textfield and onkeyup use …

Member Avatar for AleMonteiro
0
188
Member Avatar for touseef4pk

I have idea about StateManager in Backbone.js and read its [Documentation](https://github.com/crashlytics/backbone.statemanager) and I also realized how to switch beteen different states. But i still don't know how can I store my application level data or models using statemanager and secondly are my states object which I addd into statemanager, they …

Member Avatar for LastMitch
0
77
Member Avatar for guyinpv

Hi guys, I'm looking for comments and suggestions regarding the use and place of jquery/ajax in site development. I know jquery allows a lot of cool stuff and so does ajax, but when a site becomes heavily based on these tools, the use of PHP dwindles. I am used to …

Member Avatar for guyinpv
1
446
Member Avatar for SMode55

Hello, here's my problem. I am building an administration page that displays the users where you can edit or delete them. This page is built using jquery's $.Post ajax function and I am trying to nun jquery inside the page that is called by $.post but it doesn't work at …

Member Avatar for SMode55
0
381
Member Avatar for code_rum

Here is my code: $(document).ready(function () { $(".submit-text").click(function () { var startdate = $("#startdate").val(); /*This line returns mm/dd/yyyy */ var starttime = $("#starttime").val(); /*This line retruns hr:min AM/PM */ var dtstart = new Date("startdate" + starttime); alert(dtstart); }); }); ****On alert it displays invalid date... but if I use.. var …

Member Avatar for code_rum
2
170
Member Avatar for chr.s

Hello, A website I'm working on requires that the Prototype framework is included, but I'm also using jQuery for some custom behaviours. I'm using the jQuery [maximage](http://www.aaronvanderzwan.com/maximage/1/) slider plugin almost successfully; the only issue is that it seems to conflict with prototype - yes, even with jQuery's noconflict used - …

Member Avatar for chr.s
0
277
Member Avatar for Rizi004

Hi there, I m using jquery ajax function to get the data from server and i m getting the data in associative array on success, but now i want to convert that associative array in javascript, how i can convert PHP associative array in javascript array. Waiting for your quick …

Member Avatar for Rizi004
0
661
Member Avatar for fheppell

I need to have a script that warns users of leaving without saving changes $(document).ready(function () { $('input').change(function () { window.onbeforeunload = function () { return "You still have unsaved changes!" }; }); }); I found this code, but it goes off when I click the submit button, which is …

Member Avatar for AleMonteiro
0
107
Member Avatar for oishi

I am trying to load php file with jquery into div. The php file contains pagination. However, when i tried it, it seems that, the jquery is not working. But, when I access it in website directly, its working. Do you have any idea how can I load the php …

Member Avatar for oishi
0
258
Member Avatar for tomparker

This may be a little 'outside the box' as far as mega menu's go, but I'm trying to do a 'flyout' or submenu off of a mega. Take a look at http://morningstartv.com, and hover over 'Channels'. When 'Sunday Services' is hovered over, I want a menu to appear to the …

Member Avatar for tomparker
0
279
Member Avatar for romiaujla

I have the following code on a website, And my issue is that this code given below fades the flash file on all the browsers that I use on a Mac computer, But when I use windows it only fades the flash file on Google Chrome, but does not fade …

Member Avatar for LastMitch
0
191
Member Avatar for cgull

Hello, I have downloaded the plugin maskedinput from: [Click Here](https://github.com/digitalBush/jquery.maskedinput) Trying to use it on a site I am developing with codeigniter and foundation framework, the index.html file that comes with it works well on my site, I get this error: TypeError: $(...).mask is not a function The jquery files …

Member Avatar for cgull
0
860
Member Avatar for notconfirmed

Hello, I develop a simple script that capture the product using .net WebBrowser control. this is the link http://www.groupon.cl/descuentos/multiple-locations/desde-39900-por-8-sesiones-de-depilacion-ipl-en-axila-rebaje-de-bikini-con-opcion-a-zona-facial-en-estetica-carola-rodriguez-hasta-90-off I have a problem in getting the time in jquery count donw control. Please help me to find a solution. Regards, jeffrey

Member Avatar for cursedbustah
0
257
Member Avatar for brenton_77

Hi All, I've hit a brick wall trying to get the jquery autocomplete to work correctly. The problem is with the .php file and the way the While loop works, as what it does is create a array for every name rather than one single array. I've tried to move …

Member Avatar for brenton_77
0
328
Member Avatar for jtok

Sorry for everything being marked as code. It wouldn't let me post it unless I did (and, yes, I did try using the Inline Code option as you can see by the single quotes around much of what is written here). I have a page with an updatepanel that contains …

Member Avatar for jtok
0
788
Member Avatar for nunuaziz_

Im doing a reservation site for a project. And Im trying to disable radio button(s) if the sql statement returns true. Example: User selects a date and a time, and radio button(s) would be disable depending on database. So far, I have this: $result=mysqli_query($mysqli,"SELECT tableselect FROM reserve WHERE reserveDate = …

Member Avatar for broj1
0
1K
Member Avatar for s0wh4t

I have the following script: $(function () { var tabContainers = $('div.tabs > div'); tabContainers.hide().filter(':first').show(); $(window).bind('hashchange', function () { var hash = window.location.hash || '[b][b]#[/b][/b]first'; tabContainers.hide(); tabContainers.filter(hash).show(); $('div.tabs ul.tabNavigation a').removeClass('selected'); $('a[hash=' + hash + ']').addClass('selected'); }); $(window).trigger( "hashchange" ); }); <div class="tabs"> <ul class="tabNavigation"> <a href="#first" class="selected">First</a> <a href="#second" class="">Second</a> …

Member Avatar for diafol
0
375
Member Avatar for Stagnant

I made three image hotspots on an image called Tab1. I want to click on each of them so it shows an UI next to Tab1. I used the jQuery example off their website since it's close to what I want, but what do I do when I want another …

Member Avatar for LastMitch
0
301
Member Avatar for diafol

Hi All, Just to say that I've searched DW and Google extensively before posting here. Also looked at the jQuery site, but failed to find exactly what I'm looking for. Anyway here's the thing: I have a button on a form, that when it's pressed inserts some new inputs (textboxes) …

Member Avatar for diafol
1
240
Member Avatar for randomkid73

I'm attempting to make a web-based scheduling system, but I'm having trouble figuring out how to make it work in the best manner. First, the current table structure: **shifts** Shift_ID (pk) Event_ID (fk) Dept_ID (fk) Start End **shifts_assigned** Entry_ID (pk) Shift_ID (fk) User_ID (fk) DateAssigned Position Notes Where pk is …

Member Avatar for randomkid73
0
253
Member Avatar for RazorRamon

Ok I dunno why this isn't working. The alert outside the droppable says 0 but the alert inside the droppable says undefined. Anybody have an idea as to why? I want to start keeping a running count to when a person drops an object into the match div. I dont …

Member Avatar for Airshow
0
672
Member Avatar for mr0277

I have a div, absolutely positioned, originally non-visible that is shown at the position of an element icon (in elements listing) being clicked rendering its preview (top position of the preview is lined to the top of the icon clicked). When the element being clicked is positioned low on the …

Member Avatar for gon1387
0
249
Member Avatar for barnamah

Hi, I haved a form where elements in a rows can be added by clicking on "Add item". Once the item is added, use can remove that item by clickon on the "remove" link. One of the fileds in the row has integer value and I want to added the …

Member Avatar for gon1387
0
228
Member Avatar for designershiv

Hello Friends, I need your help again sample code `<div id="generic_photo125_addinputs"><ul><li><input type="button"/></li></ul></div>` The above code generated automatically, i like to hide the button inside the li, Now the problem is all the ids, class everything is generated dynamically,so i cant able to target the button based on the selector,Is it …

Member Avatar for gon1387
0
144
Member Avatar for dalilice

Hello guys, I'm building a website for tablets and i want o add the ability for the user to swipe down to another div. I've found some jquery plugins for this but only for left/right, and from some blogs that jquery doesn't support this ? Is that true and how …

Member Avatar for <M/>
0
275
Member Avatar for Rizi004

hi i wnat to send 11 ans using jquery ajax request below is my function tell me how i can send 11 parameter and want to get these 11 values in php i send the request with one parameter and function work successfully tell me how i can send 11 …

Member Avatar for pritaeas
0
202
Member Avatar for arishy

I am attaching the saved html of a usage report. Basically, it gives you daily usage by date. I needed a better data like the accumulated usage for the month to date of subscription, AND the percentage of quota use ..etc.. I wrote jquery to do that. My first attempt …

Member Avatar for arishy
0
106
Member Avatar for eburlea

Hi. I have a select box with the id=1. I need a solution for: when changing the select box with the id=1 to appear another select box with the id=2 and when changing the select box with the id=2 to appear another with the id=3, and so on. I have …

Member Avatar for eburlea
0
279

The End.