is it possible to change keyboard language on a textbox?
Like if the user is typing in Hebrew then on a specific textbox (input id="engonly") I turn they keyboard language into English automatically using jquery or any other language?
HTML5 Slideshow
Hi, I was just wondering, if I wanted to make a slideshow like this: http://www.elegantthemes.com/demo/?theme=Fusion Where the text slides in from the left first and then the image fades in or whatever, can I do this in jQuery or is it Javascript that I need? Do I also need any special HTML5 tags to do this? I'm just wondering if I should focus on learning to code it in jQuery or Javascript. Thanks.
Fading a div when scrolling
Hello! Hope you're fine! I'm new to jquery. For a couple of hours ago I tried to make a script which fading a div when scrolling down. But I can't make it work. I want the div to fade out more, and more when scrolling. And when scroll back up, I want it to fade in again. Hope you can help me! Thankful for all help! Please see "Demo". Div called fade_me <script src="jquery-1.9.1.js"></script> <script> function fade_div() { window_scroll = $(this).scrollTop(); $('#fade_me').css({ 'opacity' : 1-(window_scroll/100)
How do you link the jQuery UI/ plain jQuery to HTML?
I don't have a clue how this works.
jQuery Split?
Hi guys, I'm curious about whether there is any implementation of a jQuery split method that incorporates cross browser use for Regex. IE8 has some problems with understanding Regex in split in the same way the modern browsers do and I found a nice polyfill script that solves it. However, is something like this under jQuery's "jurisdiction"? I was certainly surprised when I realized that split doesn't work the same way in all browsers. In fact, I usually use the lack of a jQuery solution as an indication
mouseover change the picture?
Hi This is my code I want to set the mouseover and change the color when the mouse goes over td with id="change" but it is nit going to work?! why is that? Also coudl you please help me how I can use jquery to change the picture od td with id"pichcnage" to 2.bmp by mouse over? thanks <html> <head> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script> <style> table,th,td{ border: 1px solid black; } tr.nice td{ backgroud:#1F44GG; } </style> </head>
Combining lazyload and masonry scripts problem
Hi, I am new to jquery and wonder if there might be a theoretical solution to the following. I am using two jquery scripts. 1. lazyload 2. jquery.masonry.min.js Lazy load does the loading of images as one scrolls the page and masonry positions the images so they fit into available spaces. The problem is lazy loads the page with holding images first. Then the masonry script positions them. That all works fine as the holding image is one height. As one scrolls the page and the actual images (all
Load iframe completly.
Hi. I use this code for load an iframe: $("#button_body").click(function () { $("#KeyShotVR").html("<iframe id='teste1' name='nomeIframe' src='http:/meusite/teste/body.html' width=' 1023' height='575' frameborder='0'></iframe>") }) This function corectly. But I need to know when this iframe is completely loaded. I try this: $("#teste1").load( function (){ alert("ok"); }); But anything happens... Any help? Thanks
I dont access the tag img inside iFrame
Hi all. I use this code for insert iframe in a specific div when I click in a button: $("#MyDiv").html("<iframe id='MyIframe' name='MyIframe' src='http://meusite/body.html' width=' 1023' height='575' frameborder='0'></iframe>"); Its function correctly. This body.html contains an javascript that insert in other specific div, one image. I created other button for when I click, I get this img in my body.html inside this iframe. But I dont access anything. My html() is empty, but in browser my code
How do I get the value of ListView Items into an array using jquery??
Hi all, I'm a green javascript newbie, but I have passion:-) I am trying to get the values of my ListView elements into an array. The values cam e from my database. I feel that I'm almost there. This is what I have so far; var locationDB; var locationAry = []; var startRectangle; var viewBoundaries; //clear sidebar entries sbar.innerHTML = ''; if (data.documentElement == null) { clearMap('No results found. Please try widening your search
difference and of meaning AJAX and server side processing?
What is meaning the of the AJAX and server side processing?
How do I load nivo-slider after the script I wrote to load the html for nivo-slider from an xml file?
I wrote a script to pull content from an xml file to write the html code for nivo-slider onto a page. There seems to be an issue with my script or the order in which the scripts load. The slider works OK upon initial page load, but if you move between pages mid-slideshow, then it bugs out and on the page you move to and sticks on the last image of the slideshow and then keeps reloading giving an error that says, "GET http://www.kristinemorical.com/design/designsystems/muddog/undefined 404 (Not Found)".
Ajax request for autocomplete sends results back twice.
I am sending a ajax request for search results and when I console.log() the results it sends the result back twice. Here is my code. Any help would be appreciated. //Ready the DOM $(function(){ //Placeholder plugin for input text area $('input, textarea').placeholder(); //bind a submit function to the form div $('form').bind('submit', function(e){ return false;}); //variables for the input field, and search box div. var input = $('input').eq(0), search = $('#searchresults') ; //bind a keyup function
How to I add unique id and title to nivo-slider captions using jQuery?
I've started code to pull information from my xml files and spit them out into a format like nivo-slider. Only in order for nivo-sliders html captions to work you need to have unique ids for the caption div and for the img title attribute. I know that generally you don't use unique ids, but this is how nivo-slider works. I need help coming up with a way to create unique ids and titles such as: "htmlcaption1", "htmlcaption2", etc... Here's the code: $(document).ready(function() { $.get('/design/designsystems/unitedway/unitedway.xml',
How do I get rid of an a href if an xml node is empty and write another code?
I'm trying to get rid of: '<a href="' + link + '"' + 'rel="prettyPhoto"' + 'title="' + linkdes + '"' + '>' '</a>' if xml node link is empty and write: '<img src="' + image + '"' + 'title="#htmlcaption' + ind +'"/>' instead. This is the code: $(document).ready(function() { // get xmlfile.xml and define function. $.get('/design/designsystems/unitedway/unitedway.xml', function(d){ //Find the child elements of the subchild elements that you wish to display in slider and
Popup Window
i am new to jQuery any one please help me i want something like if i click on a image then it open a new popup window with that image's original size if i will click out side a popup window then it will automatically closed. hope someone help me .
menu missing from download bundle's html file
Hello, I've downloaded: jquery-ui-1.10.1, Overcast theme, no Effects jquery-ui-1.10.2, Overcast theme, no Effects jquery-ui-1.10.2, Overcast theme with everything checked In no case, did I receive the menu widget in the included index.html file. Thanks.
js || operator?
Hello - Javascript has the || operator which can be used to evaluate nulls. For example: var val = myobj.myprop || 'defaultval' If myobj.myprop is null then val will be set to 'defaultval'. This behavior is referred to as "coalesce" in sql server (using the coalesce keyword) as well as .NET (using the ?? operator). Is this behavior also referred to as "coalesce" in js using the || operator - or just plain old "or" but in a different context? Also - has the || operator always been available as a
Conflict with lightbox, grey box and bg stretcher code
I got a no conflict fix ... the images are where they are supposed to be but the background animation does not work. If I take out the no conflict there is a white background where the background is supposed to be. I also tried it with the nivo slider and having the same issue. The images don't animate... here is the page with the mess I created! http://kbwdesigns.com/index.php the just e it link opens fine with the grey box, but the background is not animating... thank you for any help!
Animating an image on a static background help
I am trying to create an animation on top of a static background image. I have the animation working properly and correctly but i can't seem to wrap my head around how to get it where i need it to be. I want the image to be placed document.image[4].src as its animating in order to be in the correct position on the webpage. Any input would be greatly appreciated, rather new to this. Animating Code portion in <head> <script type="text/javascript"> function slideSwitch() { var $active = $('#slideshow
Using jQuery for Database operations
Hi I have searched similar posts and came to know that jQuery Mobile cannot connect to database like a typical server side language. I wanted to develop a jQuery Mobile application that performs some basic database operations (login, fetch some data and show it in different controls (text boxes/lists/menus etc) Now I know that we can use jQuery (not jQuery mobile) for database operations but first I have never tried it, secondly, I dont know if I can use jQuery Mobile and jQuery to achieve my requirement.
$.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();
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
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.
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 ?
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
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
How to wait until one listener will finish its work?
Hi guys, http://jsfiddle.net/V34ud/1/ It should change images, how It really does, but If I fastly hover between "A" elements It works strangely. I know the last showed image doesn't want to disapper. I think the problem is with listeners. One doesn't finish it's work when another one starts work. Am I right?
positioning-problem-when-scrolling-down-webpage
i try very simple code here by have so many break lines so i can scroll down to the page. when i scroll down, click on the text box, the pop up calendar dosen't appear next to the text box, i appears all the way on the top. is there the way to make the calendar appeas next to the text box. thanks <link rel="stylesheet" href="css/jquery-ui.css" /> <script src="scripts/jquery-1.9.0.js"></script> <script src="scripts/jquery-ui.js"></script> <script> $(function() { $("#datepicker").datepicker({
Noob question about rotating images
Hello all, I've just started to use jQuery and im totally lost. Im not familiar with jQuery syntax and now i need it to rotate image. Basicly i just dont get what i suppose to write inside $('#HERE'). Its in line 18 and im trying to rotate that heroImage (hero.png) there. $('heroImage') wont work. $(heroImage) wont work.... what i suppose to write there to rotate image? pls help the noob :) // Hero image var heroReady = false; var heroImage = new Image(); heroImage.onload = function () { heroReady
order of the divs in html
Hi I have a ques here. Like if i have a big html. In that html, i have defined orders of the divs appearing in it. like: <div1> <div2> <div3> i have styled these divs thru css and have given css acc to their current position. But now if my data is dynamic now and i cant' say which div will come at which place. like it is kind of caraousel. how can i handle this? is there any way?
jQuery execute more than once on page, each(function() ?
Hi, I have the below code which I believe basically says if the div with id="sectionavailability" equals "in stock" replace with SOME HTML or if it has "out of stock" replace with SOME OTHER HTML Works great, but only executes once on a page, the first occurance of id="sectionavailability" if(jQuery("#sectionavailability").length){ if(jQuery("#sectionavailability").text().toLowerCase() === "in stock"){ jQuery("#sectionavailability").html("SOME HTML CODE HERE"); } else
Unexpected call to method or property access
I have created some dynamic divs in my application. Now when i try to hide , show or add html to these divs i am getting Unexpected call to method or property access. my jquey is as follows: $(document).on('click', '.expand', function() { var theURL = "#URL(Action('ViewPage-GetUsersAssignedToOrg'))#"; var username = document.MBSearch.UserNameCheck.value; var documentname=document.MBSearch.DocumentNameCheck.value; var orgid = this.name; orgid = orgid.replace(/^\s+|\s+$/g,''); username=username.replace(/^\s+|\s+$/g,'');
Searching option in Dropdown list?
Is any method available for seacrhing option in attached scrrenshot? for example I am entering 'East Cost 1' in Search box (and also clicking the go button it will return same records)it will return all East Cost 1 values in the dropdown list.Is it possible?
skitter jquery slider _blank problem help !
Dear guys, I got a problem, I confuse this a long time because I'm not the professional programer, I try to use a cool jquery "skitter" but when I already done it, I found it can't use _blank , _top to blank new windows in iframe the sample url is http://blog-imgs-56.fc2.com/e/v/i/evilkiwi/banner3-u99.html the iframe web url is http://www.i-search.com.tw the url blank always work in the first image, but failed blank in second image, (the problem also happened to use mouse to click change image)
any ideas how to optimize this?
Hello, I am new to this forum, as to jquery or html. I was learning beginners material and at the same time trying to make some basic animation. I created an object array with 16 objects and animated them. But now I see if I make animation loop at 30fps my cpu info shows like 18-20% of cpu load. this is just the beginning of my idea, and when I will fill it with all the objects to render, it will be consuming way more of cpu resources... so maybe I am missing something here? maybe I should be using
links
Apologies if i appear totally unknowledable. I am calling a simple moving boxe into a website via iframe command, a link inside the banner works a treat however it opens a duplicate frame within the main website ? is there a link command to bypass opening within the iframe and going to directly link to say a navigation button in the index ? thank you Lesley
Find part of a string and style it
Hello there. I am a beginner to jQuery, and I am trying to accomplish what seems like an easy task. I want to find a certain word in a string, and when it is clicked on, go to another page. I know that I need to use window.location.href = ""; for the redirect. My string is Come play with us, and I want to redirect to a page when us is clicked on
Jquery Newsletter signup form
Hi All, I am very new to Jquery and have limited knowedge of it. I am trying to add this type of jquery pop-up form http://jsfiddle.net/hendriono/Jg8rd/show/ to my site www.whatiseewhenilookat.com, it uses Gallery3 site software to http://galleryproject.org/. I am having a nightmare trying to get this to work, I would be very grateful to anyone who can help me out with this
Next Page