jquery
can any one know how to create CRM based application for bussiness functions using jquery with some interactive screen layouts..
simple if else callback problem
The below script is perfectly working fine. The problem is even if the callback function is true but it's not ececuting "if (data == 'true') {" function. Advise me. <script> function SendDataemail() { $.ajax({ type: "POST", async: false, url: $("#emailsubmit").attr('action'), data: $("#emailsubmit").serialize(), success: function (data, jqXHR, textStatus) { alert(data); if (data == 'true') { //alert(data); alert("working"); $('#emailsubmit').fadeOut('fast'); } else if (data == 'false') { //alert(data);
I can't get a div to print in the center of the page!
Hi guys I have a div in my code that I am trying to print using the jQuery print element. My DIV is formated in the center but my when i pint it everything print left! This is my css code @media print { .contract { align: 0 auto; text-align: center; width: 800px; background-color: #fff; clear: both; display: block; } } What is the trick to get this div to print the same way it looks? I seems that the print functions ignores the css code completely! thanks
css question, please help
I know this is not the right place to ask for a CSS help, but it's an active good forum and my question is simple. I just want to know why does an element take up the entire width when I set the width? For example, <div style="width:50px;"> <fieldset> <legend>test A</legend> <table> <tr> <td><asp:Label ID="Label1" runat="server" Text="Label"></asp:Label> </td><td> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> </td> </tr> </table>
New to JQuery, issue with tablesorter
Hello all. I am new to using jquery and I am having an issue getting tablesorter to work on a table that I generated using Tableizer. Any help would be wonderful. It could honestly be a naming or structure issue, or a combination of everything but I am at a severe loss on how to navigate this. I am more a designer than coder. I'm sure it is full of errors but any help you can offer would really be greatly appreciated and needed. I've posted the entire code and have hosted the page in question: here
jquery does not work as external file!
Hello I use Jquery in this page and it woks fine. For example the calendar, price range slider.... Now I did all the HTML validations and took all the Jquery to an external file and none of the exterlans work here! For example the calendar, price range slider...You can see the script in the source: <script src="controller_js/controller_gallery_nd2.js"></script> What is going on? Howcome it only works when copy pasted directly in the page? Thank you.
When dropdown change option in side table row
i am using one table on that 1 dropdown and 3 textboxes i have taken .so my query is change of dropdown 3 textbox should updated and change of textbox other textboxes should update. Thank you in Advance...
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?
node.js
is anybody knowing node .js here.can u help me with reply.
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.
How to make google maps full screen work?
Hi, How can I make google maps in full screen work with jQuery mobile? Right now I am using the basic full screen sample code from google maps and as soon as I include jQuery mobile 1.3, google maps does not load display anymore... any clues? Cheers, J.
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)
problem with pageshow-event timing
Hi, i have a mobile application with different pages in one file. First page is "pageMain": <div data-role="page" id="pageMain"> ... </div> I want to show a dialog before using this page, so I have a second page: <div data-role="page" id="pageMainTerms"> ... </div> Then I have a function to open this second page as a dialog: function automatedTerms() { $.mobile.changePage( '#pageMainTerms', { transition: "pop", role: "dialog" } ); }and start this dialog with using the pageshow event in the body
Can I ajax images and store in variable?
Hello, Can I ajax all of the images in a folder and store them in the success variable? If so, does anyone have any examples? Thank You
How do you link the jQuery UI/ plain jQuery to HTML?
I don't have a clue how this works.
Getting Autosuggestion box placement changed
when we type chars autosuggestion box placement got changing.for screenshot i send image also.kindly any body help me out.
Need help finding documentation
I am having a real problem finding the following documentation. My problem is I don't know what it is called! ex: ui.newPanel.text(); ui.newHeader.length Where did they find the documentation for the function .text()? How do you know there is a .text() function? Where is the documentation for the all the values associated with the newPanel object? I keep hitting dead ends with the jquery documentation, maybe I don't understand what an object is? Consider me extremely newbie and I need to know
Jquery UI Tabs
Hey guys, just started using Jquery UI Tabs, but seem to be having some problems with it. I have created three tabs, all with different information. I want it though, so that 1 tab has a form in it, like an email form. When I try do this though, the form always seems to be moved outside of the tabs, but if you change tabs, it acts like its inside that tab and disappears. Was wondering if someone could help me fix up this error im getting. Or has any ideas what im doing wrong Thanks
jQuery Cycle: help with "next:" option
I am running a fairly simple repeating, fading slide show: $('#slidecontainer').cycle({ fx: 'fade', timeout: 8000, speed: 800, next: '#slidecontainer', pause: 0 }); The idea being that the slides will auto-transition on a 8000ms timeout, but that the user can speed it along by clicking on on a slide to immediately advance to the next. This works fine. What I would like to do, however, is to disable the user's ability to manually advance to the next slide for some of the slides in the slideshow.
Sliding Image is not working what's wrong in the code can anyone help
<%@ page language="C#" autoeventwireup="true" inherits="ImageSlider, App_Web_7krkr16x" %> <!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 runat="server"> <title>Untitled Page</title> <link rel="Stylesheet" href="SlideImage.css" /> <script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.3.min.js" type="text/javascript"></script> <script type="text/javascript"
jquery.ad-gallery.1.2.4
Hi I am really new to jQuery and indeed building websites at all. I have been looking for a photo gallery for my current project and the one that really works for me aesthetically is jquery.ad-gallery.1.2.4. I have managed to customise it and get it to look like I want but I don't know how to get it into the page. My instinct is to 'Insert' it into the cell that I want is to appear in, however, I cant find anything in 'Dreamweaver - insert' that looks helpful. Sorry to be so very green - I am not
How to select deleted or written text
I want to tag deleted or inserted strings like "Hi guys" //original "Hi <d>guys</d>" //final in this example user tries to delete "guys" but it is just tagged. Or lets say that user adds some text to ours. "Hi guys" //original "Hi guys<i> how are you</i>" //final i also want it to be tagged like that. Is there any single way, any single possibility that i can do this.
Page headers are not decoded when used as page title.
If encodable text is in the header of a page, when that page is loaded, the title is displayed encoded. As tested on Safari Mobile / Desktop, Chrome, IE10. fiddle The problem might be on line 4631: var newPageTitle = ( !active )? pageTitle : toPage.jqmData( "title" ) || toPage.children( ":jqmData(role='header')" ).find( ".ui-title" ) .getEncodedText(); Why not just get .text()?
Legend with an icon and text
Hi All, I am trying to create an fieldset/legend with an icon, the problem is that I am unable to display the icon in the same line as the text of the legend, can anyone help me please : <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js"></script> <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/themes/sunny/jquery-ui.css" rel="stylesheet" type="text/css"
Help me, please, to animate a tag using css data
Before, I am sorry for my (rus)English. There is a task: to create animation on the basis of data of dynamically added styles table. The decision received for evening: //1 расширить до: получать массив из классов, //2 флага удаления противоположного модификатора по БЭМУ //3 рекурсивно выводить для всех вложенных классов которые он может затронуть $.fn.animateClass = function (className, callback){ for(var StyleSheetList = document.styleSheets, i=0; i<StyleSheetList.length;
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
Zoom an image in a Jquery mobile page (not zooming the whole page)
Hi team, I got a question when I try to insert a zoomable image into a jQM page. In this page I only get a header, an image in content div and a fixed position footer. The thing is when I try to remove <meta name="viewport" content="initial-scale=1.0, user-scaleble=no" /> , the whole page(including header and footer) will be zoomable, from my understanding, the zoom function should be defined by iphone/android browser right? Now what I want is only the image can be zoom, can someone help and provide
call a phone number with javascript?
So I am having this problem, <a href="tel:123456">123456</a> works as it should, but when I call it in JavaScript like so window.location="tel:123456" it does not work. I really need to get this done with JavaScript. See scenario: 1. User clicks on a number 2. Message popups asking user to confirm calling XXX number 3. When user clicks OK, popup is closed, custom action is invoked, phone is finally called. Any help is really appreciated.
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>
Using jQuery to loop through elements and call user-defined function
So I'm trying to use .each to iterate through an unordered list where each element has a tag. If the element has "tag1", then the element is shown on screen, if not then the element is hidden. The problem is when I used .each, for each iteration I want it to call a user-defined function typeCheck(). Case 1 index.html <a href="#" id="button">Button</a> <ul id="list"> <li class="tag1">Item 1</li> <li class="tag1">Item 2</li> <li class="tag2">Item 3</li> <li class="tag3">Item
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
bug JQ ? SELECT/CHECKBOX/RADIO
Hello everyone, i'm experiencing a crazy bug with JQ, with a very simple code : js fiddle test bug i use a SELECT and add the attribut "selected" on each "OPTION" one after one. the bug appear after the first run on all "option" -> the browser stop refreshing the visual i have the same bug with CHECKBOX and RADIO condition for the bug : OS : windows XP (don't try on other OS) JQ : 1.9.1 browser : FF or Chrome (works fine with opera) if i use an old JQ (1.6.4 / 1.7.2 / 1.8.3) the bug dispear. so now
Error Messages not colored or placed properly
Hi all: My experience with JQuery and PlugIns is limited so I apologize in advance for (probably) a quite basic question. The page I am referencing is here: http://www.communitycarestraining.com/registration.cfm My question is about the error messages which are returned when a field is not inputted correctly. Right now the error messages are plain black text and they butt up tight against the field box. I would prefer them to be colored red and put just under the field box in question. As this is
Footer link color
How do i change the color of links in my headers and footers?
Is there any method to change the style of the cross domain. using jquery?
hi every one i was following the following URL to change the style of my other domain using jquery but i couldn't do so. is there any help or suggestion how to do this? very last demo is there on the given URL
how define a anonymous class?
I want to use anonymous class on my java program
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
Relative Font sizes in CSS
Unless there's some new CSS3 feature I am unaware of, I find the font-size's being pixel based a bad thing. While using JQueryMobile with Cordova or PhoneGap, devices with high density screens have all the UI elements a little to small to interact with. I went to adjust them using @media styles for DPI -- but was saddened to see that all 25+ font-size styles were in PX and could not be affected by adjusting the BODY's font size. I thought that even with browser's support for "zooming" it was still
Droppable items data doesn't update
Hi, I'm having an issue with droppable and dynamic items. Say, we have a list of droppable items like the following: <ul> <li class="item" data-index="0"> <li class="item" data-index="1"> <li class="item" data-index="2"> </ul> If with some script we delete the first one and recalculate the data-index values, so item with data-index="1" get data-index="0" and so on.....Well when calling ui.draggable.data('index') inside drop callback, we get the old value. I tried to simply call .droppable()
Upload Image using Jquery Mobile
Hai, I am Developing Small Jquery Mobile App. The New Jquery Mobile Features and UI very nice. But I have samll doubt on Upload Image. i am using like <input type="file" data-clear-btn="false" name="file-2" id="file-2" value="">. in web browsers its working fine . but Some Android Mobiles means 2.3 2.2 versions not working properly. in android 2.3 and 2.2 when i am click the fileupload button it sows only Choose image From Gallary. Not Showing Camera Option.. in 4.0 version Shows Both.. plz
Next Page