What is $ in function($) mean???
I am very new to jquery-ui and am trying to follow the examples in the book Jquery UI 1.8 The User Interface Library for Jquery. I don't understand the $ and jquery as in: <script> (function($) { // the $ ? $("#myDialog").dialog(); }) jquery; // jquery ? </script} nor what the ()'s surrounding the function are supposed to do. I removed the $ and Jquery and the code doesn't work. Thanks for any help in explaining
Issue on Stop Sliding a List to Left and Right on First and Last Child
I am trying to create a simple Carousel slider at This Demo. As you can see the slider works fine! but I do not know how to stop it at both end(left and right) side. I mean how can I control to disable the left btn when the first child of ul is the first displaying( visible) item at left and disable the Right btn while the last child of <ul> is rendering in the .well box? Here is the simple code which I have so far: $(".leftslide").on("click",function(){ $(".list-inline").animate({left:'-=187px'},
Might be jquery conflict??
Hi wondering if anyone can help me, think I might be having a jquery conflict. I am using flowplayer for embedded video and html5lightbox for another. The issue I am having is that on the android the html5lightbox isn't rendering properly. See photo - I appear the default android player in lightbox as well as the html5lightbox player. Really confusing and annoying. Work fine on iPad etc. I am pretty new to all of this so thank you in advance if anyone can help me. here are the scrips that are
Pass parameter to autoComplete
I need to pass a parameter to an autoComplete call. During the onload init call I load a parameter into a hidden text box. I then use another autoComplete to select an employee name and their associated employee ID when I then store in the hidden text box. From a second autoComplete I use the value from the hidden text box to make a selection from the database. The problem is that when the second autoComplete runs the value that is used from the hidden text box is the initial value not the updated
Cycle2 Feature Question
Is it possible to have the active slide somehow highlight that slide's corresponding button? An example of what I mean is at http://advancedchiro.azurewebsites.net/. Each slide has it's own button, and the client would like the buttons to be highlighted somehow as each slide becomes active.
add and show comment by jquery .
Hello jQuery :) I am a beginner in the language of jQuery and I know all the fundamentals :) i want add and show comments by jquery Comments script such as Facebook Comments Add a comment and show comment quickly like Facebook without updating the page to add a comment or view the comment. I used the script, but it does not display a comment quickly like Facebook How do I work so
jquery and upload a file
I have this form: <form id="uploadform" name="uploadform" enctype="multipart/form-data"> <p class="short">Email Address <small>(required)</small></p> <input type="text" name="email" id="email" placeholder="eg: me@dennisaucoin.com" tabindex="1" class="short" /><br /> <p class="short">Amount Due <small>(required)</small></p> <input type="text" name="amount" id="amount" placeholder="eg: $500.00" tabindex="2" class="short" /><br /> <p class="short">Due In <small>(required)</small></p> <input type="radio"
Jquery method and a function
What is the difference between a method and a function
How to select the div inside a div
Hello EveryoneI am having doubt that in selecting a div because i am not getting what i am expecting to get. Following is the code <div id="dynamic"> <table cellpadding="0" cellspacing="0" border="0" class="display" id="example"> <thead> <tr> <th width="10%">First Name</th> <th width="10%">Last Name</th> <th width="10%">Address 1</th> <th width="10%">Address 3</th>
jquery
hello... i have for img tags in for different div. i want them to slide like image slider. i want code.
Field containers don't seem to work for me
I have a form you can see here which includes a label and an input inside a field container: <div data-role="fieldcontain"> <label for="property_value">Property value</label> <input type="number" name="property_value" id="property_value" value="" required /> </div> Have I missed doing something else necessary to get the label and input to appear on the same line? It seems to work okay in Firefox on a PC with a large screen, but on my Galaxy S3 I still see the label and input on separate lines
Tab activate on Menu item select
$(function() { $( "#menuA" ).menu(); $( "#menuB" ).menu(); $( "#tabs" ).tabs(); }); <div id="tabs"> <ul> <li><a href="#tabs-1">A</a></li> <li><a href="#tabs-2">B</a></li> </ul> <div id="tabs-1"> <ul id="menuA"> <li><a href="a1.html">A1</a></li> <li><a href="a2.html">A2</a></li> </ul> </div> <div id="tabs-2"> <ul id="menuB"> <li><a href="b1.html">B1</a></li>
Need Help Creating Image Gallery with slideDown captions
I am new with jQuery and I think I've gone a little too ambitious. Ideally I would like to click on the #thumbGallery links on the right and load the different images into #photo. That is working. I would like to then also load the different fish .captions(hover slideDown overlay on #photo) and .tips (display at bottom below #photo). Having trouble with selectors writing the right path. ANY tips or advice would really help. Also why does the menu drop down( the Produce Reviews one) go behind my fish
Dynamic List and Binding.
How can I bind a click event to a dynamic list. I have included a fiddle, http://jsfiddle.net/a4poster/Y3SzW/ What I want to do is when the user clicks on one of the list items generated for an alert box to open like this: http://jsfiddle.net/a4poster/MHUke/ Ignore the styling - this method works fine on older versions. Thanks, A4.
Tab activate on Menu item select
$(function() { $( "#menuA" ).menu(); $( "#menuB" ).menu(); $( "#tabs" ).tabs(); }); <div id="tabs"> <ul> <li><a href="#tabs-1">A</a></li> <li><a href="#tabs-2">B</a></li> </ul> <div id="tabs-1"> <ul id="menuA"> <li><a href="a1.html">A1</a></li> <li><a href="a2.html">A2</a></li> </ul> </div> <div id="tabs-2"> <ul id="menuB"> <li><a href="b1.html">B1</a></li>
Custom sorter for Tablesorter plugin?
I have a table column in which some cells contain simple words (e.g., 'web', 'production', 'engineering-employees'), and others that contain LDAP distinguished names (such as 'cn=operators,ou=Groups,dc=example,dc=com', 'cn=helpdesk,ou=Groups,dc=example,dc=com'). They're easily separable; the DNs *always* start with 'cn=' and the simple words.. don't. I want the sorting for this column to keep each type together, but sorted within the types (with DNs considered as lexically subsequent to simple words).
magnific popup question- How do I controls it
Hello all, How do I control the behavior of the popup box when, during and after it appears? Would I do this in the jquery.magnific-popup.js file? Please let me know your thoughts. thanks
ajax plist & pull info
Hi, I'm trying to read a .plist file on the server and pull specific info. Have gotten it this far, but not sure where it's wrong. Nothing is being output to console. $(document).ready(function() { $.ajax({ url: "http://www.server/pathto/my.plist", cache: false }) .done(function(data) { $(this).find("date").each(function() { var item = $(this).text(); //var bkset = ? //var bkset_time = ? console.log("item: " + item); }); }); }); I want
Swiping works on desktop but not on mobile
Hallo, today I started checking my pages on my new mobile (Samsung Ace 3). One problem I encountered was that swiping pages works on my desktop computer but not on my mobile, e. g. on this page: http://www.ulrichbangert.de/orchid/mediaelement/2013-03-25_Pleione_Ueli_Wackernagel_Pearl.php Resizing the images and the video for responsive behaviour works fine, thus javascript seems to be activated. The buttons for paging are also working fine. Any ideas what's the problem and how I can fix it? Best
Where is a good place to find jQuery developers?
We are AroundWire.com, and we need two full-time jQuery developers in the Los Angeles area to help further our UI. So far, we tried posting on Craigslist, Monster, Indeed ....all we got were a few responses from other countries. Where do good jQuery devs hide?! Please help us find a couple. Any suggestions would be very much appreciated.
Linking and embed js file when consist lot of html document in jquery mobile
Hi I am new for Jquery mobile. I need to develop mobile apps which consist lot of screen. There are around 50 html inside my apps. I am facing this problem nw which is hw to linking to each other page? Btw let say i need to embedded cordova.js or custom js file to all pages. So did i need to embedded java-script file to every 50 page's header? It is very time-consuming to restructure my apps for example <head> <meta charset="utf-8"> <title>Smart Realtor</title> <meta name="viewport" content="width=device-width,
Question about using the event argument
Hey guys. I trying to get more acquainted with how jQuery works with events. One of the things that I am having a difficulty understanding, is how can I call a specific method or property of an event passed into the function. For example, I tried to view the timestamp of a certain event and I get a "null" in the console log $("#delivery_method").change(function(event) { if($(this).val()== "Pick Up") { console.log(event.timestamp) // Returns Null?? } }); Another thing I am little confused
jQuery popup screen fills a field , but values are lost when (by accident) F5 (refresh) is clicked.
Hello everybody, in my PHP file, by clicking a button, I'm giving the user a popup screen to enter some data. Once OK is clicked, the data is put into an array and shown on the "underlying" page. But, when the user presses F5 by accident, the values are lost because the HTML of the screen part is empty by origin. How can I prevent this ? Greetings and thanks in advance, Davy // ************************************************************************************************************* // Scherm
Delay progressbar until hidden page fadesIn
Hello everyone, I have created a messy script for some hidden content that will fadeIn/fadeOut on click event and also, one of those pages (content actually) has a progressbar that animates the load to the percentage value i insert but the thing is that my animation plays in the background while the content is hidden. I am in need of a method (probably a trigger on click or a delay) for my code that will allow me to delay the progressbar load till after my content fades in. Here is the code for
Is there anyway to disable browser debug
Hello, Is there anyway to disable the debugging tool bars through javascript. Of is there anyway to disable the local/session storage in the debugger to make it read only?
How to make a div active and background transparent?
I'm working on a page that requires a captcha div to show up when a button is clicked. And after the button is cilcked, I want the captcha div to show up in front of the form, and the form on the back should appear transparent along with all the body except the captcha div itself. Can somebody help me out? Just the logic is acceptable, I don't need the code.
Different header for desktop
Hi all, Currently the header looks same for both desktop and mobile view, I would like to have a simple "jQuery" only menus for desktop. And I will have default jQM header for mobile, I will call these different headers using different classes (managing this using device size). Is there a way that I can achieve this? <div class="desktop-header"> //desktop menus goes here </div> <div data-role="header" class="mobile-header"> <a href="#" data-role="button" data-inline="true">Left button</a>
Please, Help me in this.
Hello All, I am Bhaskar.I am an MCA graduate . Recently I finished my jQuery training. I would like to find a job relating to jQuery. can any one suggest me any job portal link which provides jobs on jQuery. Please, help me in this. Thanks in Advance.
minor Javascript issue
Hi all, I'm making a portfolio template that i wanna use for a few photography websites. I'm running into a glitch i'm using bootstrap and some modal/carousel functions that i found on bootply that were simplified. it's works in theory but i'm having issue with the load. when i go to view the large image via click on the thumbnail (currently gallery 1 is live) the image doesn't load, UNLESS i reload the page. i'm using jquery 1.11.0 and here is the javascript in my main.js file. I think i'm
Wowslider pictures position
Hello I am using wow slider and I would like to display the title/description under the pictures, not on top of them, I could do this by changing the picture size bigger than the pictures are but now there is a white space on top which I would like to get rid of. Does anybody knows how to do this? If I could change so that the pictures not go on the middle of the available space but instead on the top then the problem would be solved, don’t know if possible though. I wrote wowslider already but the
Listview Refresh Not Working.
Hi, I am using JQuery 1.10.2 with JQuery Mobile 1.4.0 but have noticed that list view refresh appears not to work. Can anyone give me and advice? Thanks.
How to do "Remember me" or "keep me logged in"
Hello, I need some propositions to do the "keep me logged in" in my mobile application like "facebook application" or games applications etc.. Share with me the method with details if it's possible.I can do my own solution, but this is very common so i prefer to use the method of the professionals ;) Thank you experts in advance for help and don't forget i'm new to jQuery and i'm trying to develop my first mobile application best regards
display json on html
hello. i am calling an json file via ajax using jquery. its response succesfully but i dont have idea how to display this on html using jquery. i only want to display is SCHEDULE_ID, ACCOUNT_NO, POLE_NO and DESC.. here my ajax code $.ajax({ type: 'GET', url: "test2.php", success: function(data) { console.log(data); document.writeln(data); } }); and this is the json.. { "SQL_CFG_1": { "@id": "12345678", "schedulebyaccountNo": { "CURSOR_OUT": [ { "SCHEDULE_ID":
help for slide iview
hi i have a slide iview 2 but can resize image the get 100% of height of slide can you help my
jquery post to absolute url gives empty error
I wrote a small example (http://jsfiddle.net/VLjLX/22/) doing a post to a utexas.edu PHP script which gives an empty error message. Is that because the server doesn't allow posts from another server? I am just wondering because the error message is empty. Thanks
jQuery Flv player
Hi all, I need a plugin of jquery which can play flv... thanks.
Process http data-stream incrementally from browser
I want the browser to read a stream of numeric data (let's say, comma-separated integers) from an http-url on the server. The stream is finite, but can be quite long, and I would like to start processing the data in javascript (draw a html5/canvas/2d graph) incrementally as the data is received, without waiting for end-of-stream before start drawing, thus avoiding to hold the complete stream in browser's RAM. And in a fashion that works on all major browsers, of course. But how do I read the http-stream
Pass value from iframe colorbox to parent page
Hello, Some problem with passing values. I have 3 pages : home.php iframe.php (that I display with overlay colorbox) start.php (the url redirection after overlay closing) In home.php i have my colorbox script : <script type="text/javascript"> $(document).ready(function(){ $(".iframe").colorbox({ iframe:true, transition:"elastic", scrolling: false,opacity:0.60, width:"550px", height:"300px", onClosed:function(){ var name = $('#name').val();
When I click an item second time, not able to bring the jQuery Dialog to the front if it is already opened in background
Hi, I am opening a jQuery Dialog (with dialogExtendOptions) when click an item in a table.if I click the same item it is opening similar new dialog every time.I don't want to open dialog second time.Since it is already opened,I want to bring the already opened dialog to the front. Please help on this same. Thanks, Karim
How to Prevent Sub List to Slide Down and Up Parent List
Can you please take a look at This Demo and let me know how I can stop /prevent the sub menus to slide up the list. If you click the Two or Three you can see there are sub menus as Two _ 1 .. Two _ 4 and Three _ 1 to Three _ 4 now I would like to stop them sliding up the opened musthidden class. Here is the code I have: HTML <ul id="slider"> <li class="expandOnClick"> <a href="#">One</a></li> <li class="expandOnClick"> <a href="#">Two</a> <ul class="musthidden"> <li><a
Next Page