Sorting objects inside of two arrays with main array
I am really hoping someone is willing to take the time to read this post and take a minute to take a look at my code. What is happening is there are some matches for a script I made and then an area for segments during an event. If you notice on the segment part of the form is that there is a dropdown that asks for where in the event that segment needs to go. With the Introduction or the different numbered matches. What I need to happen for a subArray I need it to take the introduction, all the
Fill textboxes with series of numbers
I can't for the life of me figure out how to fill 12 text boxes with a repeating number of numbers (this is for a 1 year forecast). If a user enter 3 different numbers in the first 3 text boxes and leaves all others empty I want that series of numbers repeated in the rest until the end when I click a button. Should I use each()?
misuse of the jQuery plugin web site
To the people in charge of filtering the posting of new jQuery plugins, I would like to point you to the jQuery plugin entitled "Respect is one of the basic needs of human life" which is just an advertisement page for Dell batteries embedded in the disguise of paragraphs on respect. http://plugins.jquery.com/project/humanlife This is a misuse of your web site and I think that this posted plugin should be removed. Yours,
jquery content replacement (html) - images don't load?
Hello everybody, This is my first post in the jQuery forum. I am quite a beginner, and I'm still figuring out how jQuery and javaScript works. I find it increasingly interesting, though. I have made a website, where everything stays (header, footer, menus) and only a <div> changes, in this <div> is the changing content (other html files, like if this was a iframe). I have used the method below to change the content of a <div> named "texto", it seems to work, but it doesn't load the images! only the
Call Function on Link Click
Hello, I have the following on my HTML code: <a href="#" id ="Map" onclick="ShowGoogleMap(Model.Lat, Model.Long);">Show Map</a>But I would like to not use "onclick". How can I use JQuery to have the ShowGoogleMap to be called when the link is clicked? And I need to pass the two parameters: Model.Lat and Model.Long. Maybe I could have these inside hidden span tags with Ids Model.Lat and Model.Long. Then JQuery would get the Lat and Long values from the span tags and would call the function when the
[jQZoom] Chrome doesn't show good
http://www.listinventory.com/index.php For some reason, Chrome messes up the jQuery jQZoom plugin. Images are all grouped at the top-left. Any ideas on how to correct this?
accordion not keyboard accessible?
I could have sworn that the accordion widget was keyboard accessible, but right now, only the active header and it's contents is accessible. I'm not able to tab to an inactive header and expand it - any ideas? here's the code: <script type="text/javascript"> $(document).ready(function(){ // Accordion $("#accordion").accordion({ header: "h3"}); }); </script> //.... <div id="accordion"> <div> <h3><a href="#">Administration</a></h3>
Theme "a" background depth
I noticed that theme "a" (dark one) seems to have lower color depth than other themes. It looks like the background gradient was stretched so much it lost smoothness or like you would have 256 colors set on your graphics. This happens in desktop browsers like Firefox etc. and in webview on my HTC. It's a shame because this theme is really cool.
Grab value passed in from URL?
Hi, I'm trying to grab a value passed in from a URL, i.e: test.html?foo=bar ...and I would like to grab the "foo" entry, with the value passed in I'm guessing this can be done, but I can't find a way? TIA! Andy
Can I get styling on the button in a 'file' input control?
<input type='file' ... /> has a button on it. Applying the 'button' function to it does not style that button. Is there some way to style that button?
Issue with .attr("title")
Hello, I have got a little script that shows div's and hides classes when I click on a list item. Here is the HTML - <div id="menu"> <ul> <li title="test1">Test 1</li> <li title="test2">Test 2</li> </ul> </div> <div id="test1" class="tab" style="display:none;">First Test DIV</div> <div id="test2" class="tab" style="display:none;">Second Test DIV</div>And here the jQuery code - $("#menu li").live('click', function() { var name = $(this).attr("title");
about plugins list
I don't know if this is the place to discuss about plugins.jquery.com. If so, I have a suggestion about the 'most popular' plugins. Right now it's pretty much useless. It sorts the plugins by 'stars' only. To be any sort of useful it should have a tiebreaker of # of votes. That way, a 5 star plugin with 30200 votes should show above that plugin I made yesterday and voted 5 star on myself. There are sooooo many plugins out there (most are just attempts of someone to do their own version of something
SlideToggle and IE
Hi! Im using slideToggle on a div to show / hide the silverlight object it contains. there is a visual glitch when it hides the object, just before it's completly hidden is show the entire content of the div for a millisecond. Is there a way around this? is use code: $('#dragContent').slideToggle('fast'); thanks!
Newbie question about this url
Thought this was Flash but see it is not, looks great on Ipad. After further looking I see jQuery is used. Any help on breaking this down? RD
add event to divobjects and get position
hello, i have created a dynamic page that loads x number of div objects that are draggable. i want to add a mouseup event on theese and get the position of the div that i clicked i also need to get the text from the label object in the div i want this event to work on them all dynamically the div structure <div root, class=rootdiv> <div header> <div title> <label><button> </div> </div> <div contents> <object> </div> </div> my script so far, but i haven't gotten this to work $('.rootdiv').mouseup(function
How to load a wikipedia page into jquery mobile?
I want to load a wikipedia page into data-role section of jquery mobile, but how?
How to set data-theme b in data-role collapsible
Unable to set the data-theme="b" to plus minus icons in data-role="collapsible" with data-theme="b", its plus minus get data-theme="d" by default... can we replace the data-theme by any chance. I need plus minus icons inline to the theme b arrow with dark gray shade. Actually, I just want to show hide the sub content in list view / collapsible.. pls Suggest? following is the html - <!-- --> <div data-role="collapsible-set" > <div data-role="collapsible" data-collapsed="true" data-headingontop="false"
after vs append
I am dynamically adding table rows and in each row i have one text box with an auto complete if I use $('#bill_tbody tr:last').after(table_data); the row is positioned last but the autocomplete doesnt work if i use $('#bill_tbody tr:last').append(table_data); the row is posistioned to the right of the last row and the auto complete works??? any ideas??
styling for read only lists
you guys think the style of the read only lists look a bit too much like they are clickable? maybe add a unique style to the swatch? or a class to the ul to make it possible to override existing styles?
page theming
I have a little struggle with the default theme ... I try to use the black theme (a) or later my own. I thought it would be enough to just add the attribute to the following div <div data-role="page" data-theme="a" id="container"> but it turns out that not all elements get the a-theme. Submits and listviews default to c-theme. any idea why? Documentations says that all elements with no data-theme attribute default to c-theme but I thought my code would globally set the wanted theme. Do I really have
Using jQuery to check username availability...
So I posted a question on here and I'm pretty new to jQuery... I can't figure out exactly how to do this. I'm trying to, when a field blurs, run a query to see if the username is in the database, and echo whether the username is available or not if it's in the database. I have a little snipet of my page and I just don't see how to specify how to tell the script which input field, when it gets blured, to run the query... here is what I have... <html> <head> <script type=\"text/javascript\"> $('#new_user').blur(function()
iPad page flicker on alpha 4.1
Hi, I am new to jquerymobile and I am trying to create a simple site for iphone\ipad. The site has a login part. navigating from homepage to the login form works fine, smooth page transitions. As soon as I submit the form (log inn) the page transitions start to flicker, there are no more smooth page transitions. Why is this? I am using the latest alpha build (4.1), and from what I have read on the forum this was supposed to be fixed in alpha 2. This problem does not occur on iphone 4 or chrome,
jQuery val() problem
I have a problem with the val function it is unable to get the value of a field once I have type text into it, this only occurs when the form is in a jQuery popup box that has a form. According to my inspector, it says that the element does have a value however the value is not being picked up. Here is the setup, if anyone has any idea or possible problem then please let me know test.html <form ....> <table> <tr><td colspan="2"><strong>Account Information</strong></td></tr> <tr> <td>Name:</td>
Need help creating jQuery application.
Hello, I'm new here and looking forward to learn a lot from you all. I've been making this jQuery app lately for a friend and I'm facing some issues for which I haven't found a solution yet. Let me add a picture here so things are clear, This is how it looks. The functions it should be able to do is, 1. Dragging containers to canvas multiple times. As soon as the container is dropped, it forms a small icon inside it and expands to be able to place an item into it. 2. Items can be dragged and dropped
Reading xml with jQuery
Hi, I have an image map loaded through an xml file. I have hooked ip up to a jquery image map highlight I found, and it works really well. http://plugins.jquery.com/project/maphilight I then edited this jquery to add descriptive text when you hover over the hotspots. This is working ok but my limited knowledge of both xml and jquery has limited me and I have ended up creating unnecessary xml. Here is the xml <img src="bathroom.gif" alt="bathroom" width="852" height="571" > <file>bathroom.xml</file>
JQuery UI Themes don't download properly
Okay, I'm new to this forum so please forgive the redundant question... I've tried to download JQuery UI for the first time and each of the themes I've attempted to download yields only a tiny .zip file containing only a zipped index.html file... and nothing else. Is the theme-roller known to be nonfunctional at the moment or am I just too lame to understand how to use it properly?
accordion first item should not be expanded on start problrm in IE8
hi all, can any help me in this issue I have made the accordion first not expanded on start with the solution founded in the documentation and with help with the post # but this is work for Firefox and chrome and not works for IE8 can any one help me in this pllllz ?????
Restart javascript animation after user presses Back button
I have a javascript animation built with animate() Whenever the page is reloaded, it is playing correctly, the problem is when the user navigates away from that page and the presses the Back button to go back to the previous page with the animation. The animation does not play again, it just shows the last state (probably because it's cached/in history?). Is there any way to restart the animation after the user presses the Back button?
How can I select this?
So I have a script that grabs data from an xml doc, and for every result it makes this tree whole header title social body graph etc... clicking on the 'title' would show/hide the body. Up until today the 'social' would be was under 'body', but tooday i moved it to 'header'. Previously I would select the body of each element use .next(), but now it selects social...I was wondering if there is some selector that I can use that will target
Beginner help: strange reaction of a page on iphone...
Hi all guys, please I need help... I have just started to build a mobile version of a website I have designed and developed for a client using jQuery mobile, it's fantastic and I love it but I ma having a strange little problem. This is the link to the website I am working on is http://clients.novasolution.com/mbc/mobile/ and if someone can please test it on http://testiphone.com/ you will be able to see the problem.... The first load of the home page is perfect it works like should....now at the
Use String Variables in Name Value Pair Argument Lists
I am relatively new to jquery and am trying set up a gmap to display markers on the map via an AJAX call. I can get the map working if I hard code the name value pair arguments as follows: $('.gmap').gMap({ zoom: 9, markers: [ { address: "8539 Spencer Court, Orlando, FL 32817" }, { address: "400 Market Street, Wisconsin Rapids, WI 54494" } ] }); The AJAX routine returns a string imitating the layout between the markers: [ ] square brackets as follows: { address:
Undesired header blinking when transitioning to new page using Scrollview
I'm working with the scrollview code for jQuery mobile and am experiencing an unwanted blinking of the header after transitioning to a new page within iOS 4. You may view a demo of this issue by clicking the bottom nav bar buttons here: http://redone.org/_scrollview/ Is it possible to turn off this effect/fix this glitch?
X-Requested-With
I am trying to consume web services from foursquare.com, and I am using jQuery for my ajax requests but it seems that when I use POST, jQuery places a header "X-Requested-With" and because foursquare does not accept the header "X-Requested-With" I cannot consume their service. I googled it and it seems this is a problem in the past and it was fixed. I also checked the source and there are some checks to not include the header, but it seems that when I use jQuery the problem still persists even if
catching form submission
Perhaps I'm missing something obvious, as I'm pretty new to jQuery. But I have a button sitting in my footer that submits a form via POST. I'd like to display the results of that form as a dialog rather than loading a new page. I assumed I could just use $('#theform').bind('submit', f) to add a listener to the form submit event and stop it to do my own thing. But it doesn't seem to work. I've tried calling bind() both before and after loading the jquery-mobile code, with no luck. Ideally I could
Is there any way to jump to a frame in an animation
I would like to use a slider to animate a color transition. Is there any way in the to jump to a specific frame in an animation. That way I could set up the animation and use the slider to control how far into the animation the current element is showing.
jQuery accordion click() not working in IE
Hi people I'm coding a site with a four-stage accordion as a navigation sidebar. When a user clicks on an accordion stage, an image with a text link overlaid pops out from beneath. It's working fine in every browser except, natch, IE, and I'm flummoxed as to why. I've tried everything I can think of. Any help would be greatly appreciated. Code is below. Here's the HTML for the accordion. There's a nav tag called #sidebar which contains two parts: an aside (#conditions) and the accordion (#navV).
IE 7 issue with dropdown menu
I am having an issue with a dropdown menu in IE 7. I am stacking the menu horizontally and it works fine in all browsers but IE 7 ( go figure ), IE 7 is stacking it vertically and hiding most menu items. Any idea how to fix this? Thanks!
Any body help to develop charitable website
Dear friend, We need your assistance to develop charitable website. basically, we haven't much technical and design skill. plz help and develop the site for better contact mail me to vsr_php@yahoo.com. I have attached mockup file and napkee exported zip file. plz check and help us. for your effort your name will be everlost in the website. thank u yours vsr.
Media Plugin problem
I'm trying to learn how to use the media plugin. I must be doing something really stupid. I've taken the audio sample and stripped it down and I can't get the player to ever show? Any thoughts on where I screwed up? Here is my code. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
Problem with my image gallery
Hello, So, I have an image gallery with small thumbnails. Basically, you can click on those thumbnails, and it shows a taller version of them ( simple image gallery). At start, the thumbnail images are in black and white. When I rollover the thumbnails with my mouse, it replaces them with a colorful version. The problem is when I click on them to see the taller image, the thumbnails return black and white. What should I do if I want the thumbnails to stay colorful when I click on them? I may not
Next Page