$.ajax storing results in a variable then retrieving it, doesn't work
<script type="text/javascript"> $(function () { var totalRows = ($("#<%=GridView1.ClientID %> tr#trident").length); var __debit = 0; var __credit = 0; __creditCalc = 0; __debitCalc = 0; var _VouchNumber; for (i = 0; i <= totalRows - 1; i++) { var _a = $("[id$=txtdat_" + i + "]").val(); var _b = $("[id$=vname_" + i + "]").text(); var _c = $("[id$=txtDep_" + i + "]").text();
How to call a java function from jQuery?
I have a java class 'find' which has a function 'getValues' which returns string array. I want to call that function getValue() from a jQuery and convert it into a jQuery array. Can any one help me how to d so?
Cycle2 Plugin hide controls
Hi there, I am using the cycle2 plugin integrated into the wordpress gallery and works like a charm. What i would like it to do is when there is only 1 image to hide the controls and when more than one show them. I spoke to Mike on Github and he gave me a snippet of code and with my additional lines it doesn't seem to work still. If anyone can spot how to resolve this i'd be grateful. Maslap JQuery file: http://malsup.github.com/jquery.cycle2.js Function to hide controls (this is in my header under
Google map is being stripped out
Hi all, Having a wee bit of a problem on a site. The site is using Wordpress and I have a geo location plugin for the posts which includes a Google Map. To switch to mobile and desktop I have another plugin for that. Now, on the desktop view, the map works, if I switch to the mobile view using one of the default mobile themes from the plugin...map works. When I change the theme to the jQuery Mobile one I created, all of the google map bits get stripped out of the code. I am completely befuddled.
ASP.Net Visual Web Part
Hello everybody, I'm developing a Visual Web Part for SharePoint and I wanted to use jQuery Mobile for the visual layout, but it doesn't seem to be working. The script and CSS are properly referenced, but the controls are rendered invisible. The question is: is it possible to use jQuery mobile with Visual Web Part, and if so, how? Thank you!
Probleme with popup listview and rel="external"
Hello the community ! For start i alert you i'm french and my English is not fluently..i hope i will do the minimum of mistake I have a little problem with my popup who contain a listview. This one works fine. but i i click on a element of the listview i arrived on the good destination but if i do a click on previous in my browser (Safari on the iOS Simulator or other, i have the same behaviour), i'm automatically redirect on the same page... For exemple : <div id="bouton-contacts" data-role="controlgroup"
jquery draggable resizable specific example
Hi Im doing a project where im using jquery for moving and resizing objects in a webapplication. Doing my research i found a great example of this. The object had a bin in one corner for deleting it, a hand in the other for dragging it around, and an arrow for reseizing it in the third - i dont remember if there was any symbol in the last corner. Now i cannot seem to find this example, if any1 in here have any idea where i can find it, plz let me know - thx
Hiding thick box then showing another one cause error
Hi folks, I have a window that calls tb_show to open a page, If i click on the close button, the following JavaScript code executed: javascript:self.parent.tb_remove();self.parent.showNewShadow();the showNewShadow function is calling an AJAX and according to the result it shows another shadowbox function showNewShadow(){ //call ajax //....... if (ajaxResult=='YES'){ tb_show(...);//show the other page } } This result on hiding the first shadow but a loading icons remains on the
CSS Font Size Units
I see that the dist JQM css has both px and em units as font sizes. I want to include a user control for size increase/decrease, and it wd be convenient if all of my css used just one of these measures, preferably em. Is there some convenient way to accomplish that?
jquery mobile video tag - black rectangle
I am using jquery mobile and try to embed the video using html5 video tag. My video plays fine on all 'desktop' browsers, but when play when I use the following code in mobile safari (iPhone) it shows only black rectangle without any controls. I used video used commonly in html5 examples. (from http://www.bigbuckbunny.org) so it is not an encoding issue. When I access video directly by typing its url http://myurlofvideo.mp4 it plays correctly in mobile Safari. What's causing the problem? How can
Problem with validate plugin
I have a contact form on my website using the validate plugin. It has been working fine for years, until just recently. I haven't changed the form itself, but I did update to jquery 1.8.3. Now the validation images are showing up in the wrong place, and for the wrong fields. You can try it out at http://webrecipemanager.com/index-5.php
[Keith Wood Datepicker] Date-Range Selection Problem
Hi everyone I'm a web developer and working in an IT Team of Tourism Agency. Well I was looking for a Jquery Date-Range plugin (not datepicker plugin). While looking for deeply on Google I've seen the Keith's date-range plugin blog and awesome plugins. And I emergencly need help ! I want to show inline 2 months datepicker. Well no matter about that. My problem is that; <span id="checkinDate"></span> <span id="checkoutDate"></span> <span id="total"></span> When customer select first date for check-in
Can jquery cache some data to the next page?
Just like session machnism, pass some data to anothor page
source code from panel styling 1.3 demo does not work
here's is how the code used works http://jsfiddle.net/tearex/6hLYe/#base here is how it shouldhttp://view.jquerymobile.com/1.3.0/docs/examples/panels/panel-styling.php what is the problem here?
Panel Navigation
Hello can any one help me, I have a kendo ui panelbar and a button (fetch), they are both in different divs I would like every time i click on an item (eg Income, summary) in the panelbar, to relocate the button focus to that particular item. Is it possible? I will be grateful for any help please. Obad
load jquery ui datepicker inside colorbox
how to load jquery ui datepicker inside colorbox? i have more than 1 colorbox and most of all colorbox contains datepicker.Please help...its urgent...
Adding custom rule to JQuery Validate
Hello: I am having trouble getting adding custom rules to JQuery form validation to work properly. I want to use the default rules to make input required, make sure it is a number, and to make sure the number is 15 or greater. That was working fine. But, I am now trying to add a custom rule to it that will allow only numbers that are divisible by 5 into the field. And I am not having any luck getting it to work. I also would like to be able to have a custom message for each error. Can someone show
Olá pessoal
Olá pessoal (administradores em especial), sou Henrique e moro no Brasil, percebi que vocês ainda não tem um forum de suporte ao jquery no Brasil, então gostaria de pedir o ticket para criar um forum de suporte aos utilizadores do jquery aqui no Brasil. Aguardo a resposta.
Problem with jQuery Menu with History
Hello friends. I have problem with jQuery Menu with History. See objective: http://pruebasconjqueryarg.p.ht/ See project reached: (with History y Php) http://rachmanijquery.site88.net/ Download the project files reached: http://www.filedropper.com/proyectoalcanzado Please I need some idea of how to do the same but not recharge the block column. So if I click on column B not to reload this content but recharge B. sepuedo28cba-
move up and down gridview with jQuery and Save
Hi i have found solution for move up and down rows in my gridview in asp.net... with jQuery but how save the new sorting?? the name of gridview is gridFeaturedPostImages <asp:TemplateField HeaderText="Up" ItemStyle-VerticalAlign="middle" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="25"> <ItemTemplate> <asp:HyperLink ID="HyperLink2" class="up" runat="server" OnClick="#" ImageUrl="~/User controls/FeaturedPostsRotator/images/up.png" ></asp:HyperLink> </ItemTemplate>
building pages with jquery and java rest services
I am planning on building new site , with java as backend. There are many frameworks for building the UI in java , I am looking at something simpler , I am wondering If I can build pages just with html , jquery and rest services at backend? are there sites built just with jquery with server side functionality? is there any example site with features like curd operations ?
Page "back" navigation with AJAX-loaded pages
Can someone shed some light on this for me? From the docs: http://view.jquerymobile.com/1.3.0/docs/widgets/pages/ "Whenever it loads a page via AJAX, it flags the page to be removed from the DOM when you navigate away from it later (technically, on the pagehide event). If you revisit a removed page, the browser may be able to retrieve the page's HTML file from its cache. If not, it re-fetches the file from the server. (In the case of nested listviews, jQuery Mobile removes all the pages that make
What selector to use?
Hello, Im trying to drag a table row into a div. Ive designated a class to the TR elements of "widgets" that Im trying to drag, but cant get the draggable to work, How do I use the selector in my drag statement. $( ".widgets" ).draggable(); <div id="files"> <table> <tr class="widgets"><td>ITEM1</td></tr> <tr class="widgets"><td>ITEM2</td></tr> <tr class="widgets"><td>ITEM3</td></tr> </table> </div> <div id="droppable"></div>
SMS body text prefilled
Hi, Is there any way to pre-fill body text of SMS on i-phone? When I do <a href="sms:555?body=hello" it brings up sms with no number and body empty. The ?body=text stops number appearing. I just want to have body pre-filled with text and url link. Thanks, John
jqm.page.params plugin fails on jQuery Mobile 1.3
Hello, As the subject says, the jqm.page.params plugin, still recommended in jqm 1.3 docs, doesn't work as expected. Since the plugin lacks documentation, I followed an answer on StackOverflow to get it work: the querystring (?param1=value1¶m2=value2) works fine, but the url doesn't retain it, making the target page un-bookmarkable In other words, I end up with: http://mydomain/index.html#target Instead of the right url, easily bookmarkable: http://mydomain/index.html#target?param1=value1¶m2=value2
listview problem with 1.2.1 that worked just fine with 1.2.0
Hello, I have a very simple code that works fine with 1.2.0, but it fails under 1.2.1 with Uncaught TypeError: Cannot read property 'options' of undefined Sample Code: <ul> <li> <p>My Custom List Item</p> <ul data-role="listview"> <li>JQM List View Item</li> </ul> </li> </ul>
Parsing through a table in an xml object that only has one row retrieved from a database
Hi i have one record (it will only ever be 1 record or nothing at all) retrieved from a webservice via a ajax() call. The record has 33 fields, a small extract is below: xml "<Table> <Supplier>false</Supplier> <Address>true</Address> <ProductInformation>true</ProductInformation> <ProductDetail>true</ProductDetail> <29 other columns... > </Table>" String I am unsure how to access the column names and the columns values when i iterate through syntax wise as i am still very new to coding in general.
Need assistance with altering JQuery JBAR script
I need some help in altering this JQuery script if possible. I script as it currently stands creates a bar at the bottom of the page with a message that fades away after 5 secs. To trigger the bar you have to click a button. I would like to alter that so you don't need to click the button. The bar fades in after 5 seconds. Everything else I like. The script is from a CodeDrops tutorial called JBar. http://tympanus.net/codrops/2009/10/29/jbar-a-jquery-notification-plugin/ (function ($) { $.fn.bar
Ideas how to solve a web app game with level password protection
Hello, I am trying to develope a site where I would like to use in a game with different tasks. Approximately I will have 5-6 tasks for my teams and they can take around 40-60 minutes each to solve. I would like to get your ideas for a technical platform how I could start with it. Task 1 could be open and when that it finished a password or text is given. That text could be a password to unlock the second task and so on. Every stage or level should be locked and text/password protected. The site
css file
Hi, i want to copy the souce code from these links below and call them directly from my application. I was able to find the js files but not able to find the css file. i've done some google and they talked about themes? i dont know anything about this. The code below worked fine but again, i want to find the souce code but can't find the css. can one pls help? <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/themes/start/jquery-ui.css" type="text/css" media="all"
Using jQuery Mobile in my Asp.Net Web Application?
hi I have checked example applications on this web site and one of them used aspx pages for Sign up etc So I hope I can also utilize that, please guide me about that. I want to develop a medium scale web site for mobile using jQuery Mobile. I want to know: - Can I place the jQuery Mobile page inside my aspx page? - Can I place aspx page inside a jQuery Mobile page OR in other words can I use a server side language (asp.net or php) inside a jQuery Mobile page??? Please help me in this regard. Usman
jQuery Mobile + Phonegap = no localStorage on Windows Phone 8
I'm using PhoneGap 2.4.0 and jQuery Mobile 1.2.0 in a Windows Phone 8 app. As soon as I include jQuery Mobile I get an error when trying to use localStorage. If I remove jQeryMobile localstorage is woring just fine. Has anyone else see this behavior? //On Windows Phone 8 (Android and iOS are fine) we crash when trying to do window.localStorage.setItem console.log('PRE window.localStorage.setItem! Trying to set UserName = ' + $(data).find("UserName").text()); try{ window.localStorage.setItem("UserName",
JqueryMobile 1.3 PhoneGap mobileinit event
mobileinit event is not getting called on the phonegap app. What is the right way to do this in Phonegap? It works fine without phonegap. Thanks
More options for popup window locations
I got a request to create a popup that opens directly above the button that was clicked to open it: but currently the only options avaliable center the popup over an item. I'd like the ability to choose other locations, such as 'above' 'below' 'right' 'left' Thanks!
Triggering a click event on an inner div
I have a number of rows of data that is presented in rows. Each row div is a combination of a number of other divs. What I am trying to do is determine when someone click on an even_Row or an odd_Row. I don't know how to set that click event. For example, If I just want to do a console.log("Clicked on Even Row"), how would I do that? I have tried $(".even_Row").click(function(e) { console.log("Clicked on Even Row"); }); But this event does not get fired. Can anyone help me with how I can
Tabs widget 1.10: Doesn't work for content from different path
Using the Tabs widget with Ajax, the jQuery implementation does not recalculate <script> and <link> elements' "src" attribute. So both don't work if a tab's URL does point to content from locations different from the current directory using relative paths (e.g. "../../foo/bar.html"). ---- Another jQuery API browser: http://www.dashop.de/?hf=blog_f.html&if=blog/en/dev/JavaScript/content/JavaScript-jQuery-API-Documentation-Viewer.html
I want to post ajax data on click of anchor tag with dynamic ID and rel=facebox in jquery
I want to post ajax data on click of anchor tag with dynamic ID and rel=facebox in jquery Please reply me fast. as I am doing coding of add to card for E-commerce web site. I am stuck up with this problem and could not move..... Thanks and Regards Durga
jQuery UI risezable: resize from top left corner
I don't manage to resize a div from the top left corner. How could I do?. This is my attempt HTML <div id="chat-container"> <iframe id="chat-frame" src=""></iframe> </div> JS $('#chat-container').resizable({ animate: true }); $("#chat-container").resizable("option", "handles", "nw"); CSS #chat-container { display: none; position: fixed; z-index: 0; bottom: 0px; right: 10px; width: 500px; height: 200px; text-align:
TRANSFORM (CONVERT) INTO JQERY - Transformar em jquery
Friends, how do I pass this code to Jquery:? >> Amigos, como faço para passar esse código para Jquery:? <script> var pai = window.opener; function enviarProPai(texto) { pai.document.getElementById('mensagem').innerHTML = texto; window.close(); } </script> AND <script> var popup; function abrirPop(endereco) { popup = window.open(endereco, "popup", "width=400,height=400"); } </script> Thanks, Obrigado
jQuery Plugin Boilerplate with elegant Interface
Hi folks, some weeks ago I extended the http://queryboilerplate.com to fit my needs for developing jQuery plugins with a public interface. Coming from the PHP development I missed the scope feature to make functions private / public. So I extended the boilerplate and implemented a new namespace where all the public interface methods can be definied. You can see the extended boilerplate on http://jquib.web-sav.de/ and use it for your own plugins - I only ask you to review the code and give me feeback.
Next Page