Merge/compare a boolean array with a list
Ok, so my title isn't probably the best but I wasn't sure how to describe it in a short sentence. So I've got an idea of how something needs to be done (open to being wrong) and was hoping to get some feedback as to how to structure a function. So I've got a boolean array "favorites" that looks like [false,false,true,false] and I've got a list of ice cream flavors id1=chocolate, id2=strawberry,id3=vanilla, id4=twist. In case you're wondering the framework i'm using is Ember.js but all my functions
Using ui-icon-triangle in Jquery
I am new to Jquery. I need to show the section when clicking the triangle button and again i am clicking its hide the section below the header.Is it possible.. I have attached my output as file.can any one help to get the answer?
Jquery Easy Validator
$(document).ready(function() { // JQuery Form Validator By Aleksandre Mumladze $("#submit").click(function() { // Configuration var formIdorClass = "form"; // Form Id or Class var fieldError = "error"; // Error class ( warning : Not ID ) var usernameIdOrClass = "#username"; var passwordIdOrClass = "#password"; var emailIdOrClass = "#email"; // Minimal Length var naMinLen = "6"; // username Max Length var paMinLen = "8"; // password Max Length var emMinLen = "7"; // email Max Length // Maximal Length
Help needed with displaying additional mySQL data from a mySQL derived table
Hi, I've been looking at this problem for quite some while now and I'm still trying to figure out if what I want is even possible (which is why I haven't posted my code so far). I'm sure it is as I can see the two parts are fairly straight forward on their own. I have a mySQL database, with 2 columns, Grade (1-5), and Comments (free text). This gets filled in on a separate form already built and connected with no issues. On my results page I want to display only the Grade column in a dynamic table
How to display a modal when the user will close the page?
Hello... I wonder how do I load a modal window (with info within it), when the user is closing the page (go with the mouse pointer to the close button of the browser)? Here is an example of this: https://shop.ashampoo.com/10/purl-onlineshop?scope=checkout&cart=111972&cookie=false&usepricescale=false&x-source=web&x-mid=web The above example loads a modal window when the user goes with the mouse to close the window. How to do it? Can someone show? Thank you all!
filter a json
i couldn't find a good easy to understand example allowing me to filter a json generated table: URL
JQuery security
Hello, I have just started using JQuery, I found that it is basically a Client side JavaScript , accessible from any webpage and can be tampered using intercepting proxy (like burp proxy). I want to know, if there are any details of security implementation on JQuery (Server Side validation). If SSL can stop tampering and manipulation. Thanks Regards Anoop
JQuery Date-Time Picker
Hello everyone, Have any body used Jquery Date-Time picker? We have JQuery Date picker but we need Time picker also. If anybody have used it, plz help. Thanks in advance.
How to make jquery function run only 1 time?
I have the code below: jQuery('.teste').hover(function() { jQuery('.modalcart').trigger('click'); } ); How do I get the declared function is executed only once?
SlideToggle
Hello, i am newbie to j Query and i have problem regarding my project. I have li elements created by php and with each li element i get div layout showing some data. I would like to be able to click to title located in li and be able to show div layout and hide everything else but when i click again on title it hides layout div and show all of list again. Here is structure: <ul> <li><a href="#" class="click">Title dynamically 1</a></li> <div class="layout">Data dynamically 1</div> <li><a href="#"
Internet Explorer and href text -> space removed beyond end of link
Hello - I'm an absolute beginner with Javascript and JQuery, and my HTML knowledge is rudimentary at best, so bear with me! This is a vastly simplified version of what I have on the page I'm having trouble with. When I use JQuery to add text to a hyperlink that previously had no text, and which is followed on the page by a space then some other page text, the space just after the hyperlink is removed in Internet Explorer (it's preserved in Firefox). This is a purely aesthetic issue, but it's annoying.
Pagination script do not understand, need a detailed explanation on each line. Appreciated!
Hello, everyone, I am struggling to understand what this piece of code mean, could any one help me explain its process in detail? I read through it and think its some type of data implimentation script. Btw, its in the core script file for simplepagination jquery script. Thank you all! $.fn.pagination = function(method) { // Method calling logic if (methods[method] && method.charAt(0) != '_') { return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); } else if (typeof method
dblclick problem and html char
$(document).ready(function() { $(".ie").dblclick(function(){ var defie = $(".ie").html(); $(".ie").html('<input type="text" value="'+defie+'">'); }); }); <div class="ie">jquery click</div>
annontating a link w/an image using jquery.
Hi all was following a tutorial where jquery was ussed to append an image to a link so for example I have in the html: <ul id="list2"> <li class="a"><a href="www.google.com"> google</a></li> <li class="b"><a href="imgs/logoPH.jpg"> a jpg</a></li> <li class="a"><a href="imgs/v2.0_L2_Technology_expanded_dlm01.png"> a png</a></li> <li class="c"><a href="apdf.pdf"> item
.hide not working when I have fadeTo as another function?
Okay so heres the new topic. Take a look at this: http://jsfiddle.net/QXJN8/ I was using the hoverIntent to make it run smooth but oblivious I dont know how to link it up in jsfiddle. Any help??
fadeTo crashing my browser?
Hi guys, I am new to this and have a very basic understanding. I spent a lot of time learning it all but certain things still trouble me. Like why does the code below crash firefox? $(function fade(){ $("#bottom").fadeTo(1000,.6).fadeTo(1000,1), fade(); I know it is this part because when I take it out the rest works. Here it all is together: <script type="text/javascript" charset="utf-8"> $(window).load(function() { $("#zoom_10").elevateZoom({easing : true}); $("#zoom_11").elevateZoom({easing
LOAD EXTERNAL FACEBOOK PAGE WITH BACK BUTTON ON HEADER
Hi! I'm trying to load my facebook mobile page page in my IOS app, but I need to load it in the div content, and in the header set a BACK button to return to the main screen (index) I show us some screenshots . How can I dot it? I'm lost This is my index page and I want to set a button to my facebook page (with a back button on the header so) This would be the facebook page I need design THANKS!
Selector not working
I have this code that works great on my test webpage, but in my development area it doesn't work properly, the span with a class of buttonOn works. I have 5 span tags and the one I have clicked should have the text in green(ButtonOn) and the others red(buttonOff). <div id="control"> <span class="buttonSmall-grad buttonOff">Std Night</span> <span class="buttonSmall-grad AllOn buttonOff">All On/off</span> <span class="buttonSmall-grad
linking to jquery script
Hello all. this is what I have in my head section. <!-- jquery --> <script src="js/jquery-1.10.1.js"></script> <script src="js/myJs.js"></script> and also tried putting the second script, the js/myJs.js below the footer. (wich is better btw?) the folder that holds the index.php & style.css hold the js folder w/the js files in it. It should all work. but the script won't link or work unless it is typed directly into the head section of the index.php file. bit baffled.
jQuery 2.0.x How to 'roll-you-own' limited version.
I am interested in selecting a subset of jQuery's SRC files to build a smaller "limited scope" version. I am looking for some additional focused information on "dependencies" and/or any suggestions. For example, I do need some ajax, say "jsonp." Do I need .../src/ajax.js and ...src/ajax/jsonp.js but not script.js and not xhr.js. Of course that is a simple example but is there a "map" perhaps of some common combinations to consider? Any help would be appreciated. Thank you. ...greg
Jquery editor
Is Any offline Jquery editor available for learning?
Animate menu not acting the way I expected. Am I using the wrong function? Position?
I am attempting to create a menu that on click, moves up a certain amount of px and hides about 80% of the div at top of page, then on click again, it moves back down same amount of px to original position. The dix is moving on click, but it is moving down, a lot, first and then goes up and down. I have the position set to absolute, and I am using animate. I can get the div to hide and show with toggle, but then it hides the whole div and I only want a certain portion of it hidden. Thank you for
Hyperlinks
hello, Pls how i have to do, to active hyperlinks? Thanks My best regards @r hyperlinks
Call Webservice using JQuery AJax Issue
Hi Guys, I want run below exemple but i cant :( I Click the button response status return 12031 and status text return unknown. Please help me because i could not resolve the issue. Thanks http://www.jquerydemo.dailyfreecode.com/tutorial/jqueryajax/helloworldajax.aspx
Inserting value of array in a <p> element
Hey all. Can someone help me to get the value of the array playlistArray into the new <p> that I create in the function updatePlaylist? Beneath is one of my failed attempts to get it to work. If I want to add a variable in line 6 it will handle it as a string as its between quotation marks. var playlistArray =["blablabla", "blbublubl"]; updatePlaylist = function() { for(var i = 0; i < playlistArray.length; i++) { var newListItem = $("playlistArray[i]").val(); var newListP = $("<p class=playlistItem></p>")
Changing the textbox to other part of the page
Hy guys :D I have this textbox And i need to putt on the right side of the page . Can someone explain me how ?
Imageslider rotates in Dreamweaver but not on smartphone
For my mobile site I have an imageslider on top of every page. In Dreamweaver Live and Live Code I can see the rotator working. It rotates the images. However, the images don't rotate no my smartphone. The smartphone is a Samsung Galaxy Mini 2. The slider should work with android 2.3+. Here's the address: http://users.telenet.be/dennonnenmolen/mobile/mobile.html Maybe another problem is connected with it: The font color of the dropdown menu is white (as it should be) in Dreamweaver but blue on screen
Rookie JQuery problem with responsive template
Ok I hope I can properly describe the problem. I have a responsive template and when the window width shrinks, the menu disappears and an icon appears in its place. When you click the icon the menu is displayed using JQuery. Everything works fine up to that point. However, once you click the icon it creates inline CSS to show & hide the menu depending on how many times you click it. So if you click twice then expand the window again, the menu remains hidden because of the inline CSS. What would
Help running 2 slideshows on 1 page
Ok, so I am trying to run 2 slideshows on one page using java/jquery. I am having trouble getting them both to run correctly at the same time. Hoping someone can take a look and tell me which portion of the code I still need to change. Thanks! My abbreviated html looks like: <ul class="slide"> <li>picture</li> <li>picture</li> <li>picture</li> </ul> <ul class="slide2"> <li>picture</li> <li>picture</li> <li>picture</li>
jQuery logo
Am I the only one that sees the logo of a major telecom corp when looking at the jQuery logo? Especially on browser tabs displaying the jQuery favicon.
New at this ..Question using with php
I am new at this so this might seem like a stupid question. How do I pass the value in my auto complete text box to my php script ? (see code below). index.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Ajax Auto Suggest</title> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/
Problems in If cycle
Hy everybody :D Can someone explain me why this cycle is always true ? I have to search something that is in partnumbertextbox on the webpage ... $('<input type="button" id="PartNumberButton">').appendTo('body'); $("#PartNumberButton").click(function() { if ($('body').find($('*:contains("#PartNumberTextBox")').length)){ alert("already have it"); } else { alert('its new'); } });
dialog close event not firing
DoUpdate: function() { var self = this; $( '#dialog' ).dialog({ //resizable: false, autoOpen : false, height : 606, width : 899, modal : true, buttons: { OK: function() { $('#dialog').html(''); $('#dialog').dialog('close'); } close: function(event, ui) { self.loadPage(); //does not seem that this is ever called. }
Is jQuery is right choice for me?
Hi, I'm new to jQuery/Javascript. I'm trying to find a way making following result on building my website. As an example; I expect that following sentence; "It is a beautiful world" won't popup/blink/display on screen at the same time. It'll display character by character as; I It It i It is It is a ..... It is a beautiful world (finally) The sentence will remain on the screen for a duration of x seconds and repeat. Would jQuery be the right way for me? If YES, please advise how/where shall I start.
Question about dynamically adding textboxes and droplist to build SQL commande
Hi Guys Could anyone please look at the code below (Curtisy of Jamboro ASP.net forums) This is a way of adding a droplist and a text box to dynamically build an SQL commande What I am trying to do is: if the user chooses "Date" from the dropdown list then the form should display two textboxes instead of only one, and the user would be able to search for a range by adding dates to the two boxes, could anyone please help?? To understand what I am trying to do you can look at this website http://www.ncbi.nlm.nih.gov/pubmed/advanced
jQuery event before on_click event
Hi, Currently I am trying to do some customization on SharePoint. On a form I would like to do some form validation while pressing the save button. The save button has a default on_click javascript event which I can't touch. I would like to set a field value while clicking the button. For some reason the on_click event event is triggered before the jQuery click event and the form is already submitted before jQuery could set the field value. Is there a possibility to trigger the click event before
First time user needs help to set up superfish
I built lapalomavilla.com with css dropdown menus but they would not work on a touch screen so I need to use jquery to make it work... help?! I have never used java/javascript before
Position change of div and animated layer background
I would like to get the same effect like on this site: cubicresources.com.au How can I get that circle animation done? I don't know how to get the position of the div changed with jquery. And how can I get the background images animated and layered over each other? Would be great to get some hints or tutorials. Thanks a lot
jQuery and jQueryUI with IE10
I will develop a program which use IE10. What is the best suitable version of jQuery and jQueryUI? P.S. My program can also use with previous IE, such as IE6/7/8, so I don't think jQuery V2.X is possible to use.
Is jQuery best choice for window that must control itself?
After posting once about this and realizing the reply would not work, I am rephrasing. The link that will trigger the new window I want to display does not have any JavaScript or CSS capability at all. It is a hyper-linked area on a Flash object that must call a new window smaller than the Flash object (which is full screen) and re-position itself on the screen. Just self centering might work but more control would be fabulous. There is no parent-child relationship here. I can't bury a DIV inside
Next Page