jquery scroll
I'm trying to make my page scroll down to a specific part in the page. For example if I click on heading 3 then it must scroll down to heading 3. The problem I'm having is that my other anchor tags don't work Here is my html <div class="nav-wrapper"> <div class="nav"> <ul> <li> <a href="#heading1">HEADING 1</a> </li> <li>
fix in example in jquery documentation
Good day. I've been trying to get the code in this page to work submit example Someone needs to remind readers that you MUST place the script under the html code because doing it otherwise wouldn't make it run properly. The alert wouldn't appear. But placing it under the html code, by the time this script is reach and executed, it'll recognize $("#target") In other words, you need to tell people why the script was written after the html code. In doing so, you can also prevent an alternative if you
understanding the scroll event
Hi, I see some animations which its occurrence depend on scroll bar to down or/and to up, and measure the current scroll bar position when scrolling occurs, I wana know when should I use jquery plugin to excute that?, how to getting start in dealing with scroll event? Thanks
How to change ul list items from another onclick with jquery??
Hello, im starting to study jquery and im trying to show my second list of items when i click in "show more links", but im not having success. Can anyone give some help? <footer id="footer-container"> <section id="footer1"> <ul id="showfirst"> <h1>Links</h1> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li> <li><a href="#">Link 3</a></li> <li><a href="#">Link 4</a></li> <li><a href="# id="next">show
Form validation working but not submitting
// validate the form on submit this.submit( function( event ) { if ( validator.settings.debug ) { // prevent form submit to be able to see console output event.preventDefault(); } function handle() { var hidden; if ( validator.settings.submitHandler ) { if ( validator.submitButton ) { // insert a hidden input as a replacement for the missing submit button hidden = $("<input type='hidden'/>").attr("name", validator.submitButton.name).val( $(validator.submitButton).val() ).appendTo(validator.currentForm);
Really need your help so badly.
Hi! Thank you for taking the time to read my post. I'm now incoming fourth year of BSIT program and we are required to make a thesis to be able to pass the course. May I ask some suggestions, what application can I do in jquery mobile which is simple but innovative? A program which is capable to do even the beginners. Because jquery mobile is new for me and I really want to create an application using this software. Please guys help me. I really need your HELP so badly.
Iterating over table rows
Okay, I have written next to no jQuery. I have a table with rows. In one column is a checkbox, and a hidden field with a value. I want to find all the rows with the checkboxes checked, and concatenate the respective hidden fields together. Here is my html (edited for simplicity): <table class="user-forms"> ... <tr>... <td><input type='checkbox'><input type='hidden' name='hdnObjectId'></td> </tr> ... (Note: I am actually using a .net gridview, and the hidden field is within a templateField,
I DON'T KNOW IF USING AJAX TO SEND JSON TO PHP IS DONE CORRECTLY
I AM USING AJAX TO SEND JSON TO PHP. BUT I DON'T KNOW IF SENDING JSON FROM AJAX IS DONE CORRECTLY AND IF RECEIVING JSON AT PHP IS ALSO DONE RIGHT. I DOUBT IT IS CORRECT CAN YOU HELP ME. <SCRIPT> $("#REGISTERFRM").bind(submit, function(){ var NAME = $("#NAME").val(); var EMAIL = $("#EMAILADDRESS").val(); var PASSWORD = $("#PASSWORD").val(); var POSTEDDATA = { "NAME" : NAME,
jquermobile javascript not working
i have a proble; maybe a mystake, im working in a to-do aplication, the aplication have one page that contain one panel and one list and the code js insert a new entry from a form; when the page load i can see all the entrys, when the function taht add tre new entry works and the page is reload i cant see the entries in the list view the this is html code <!--Declaracion del tipo de documento como HTML5--> <!DOCTYPE html> <html> <head> <title>Tareas</title> <meta name="viewport" content="width=device-width,
jquery update
hey please can i receive emails regarding all jquery updation
Jquery hide not working in my asp.net 4.0 app
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="JQexp2.aspx.cs" Inherits="JQexp2" %> <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="Scripts/jquery-1.7.2.js"></script> <script src="Scripts/jquery-1.7.2.min.js"></script> <script> $(document).ready(function () { $("#hide").click(function () { $("p").hide(); }); }); </script> </head>
Creating a jquery slider
Hi Does anyone know of a good tutorial that's easy to understand that will allow me to create a slider and the be able to go on a phone or tablet and swipe the image to go to the next one
How can i get Json data in php which pass through ajax function
Hi, I have a ajax function like below, which will send a json data to php file, How can i get these data in php file ? $.ajax({ type: 'POST', url: 'data11.php', data: { json: ko.toJSON(viewModel) }, success: function () { } }); My Json data is something like below {"participants":[{"NoPrticiField":1,"empname":"gfh","designation":"fh","email":"fgh"},{"NoPrticiField":2,"empname":"fgh","designation":"fgh","email":"fgh"}]}:
Best Resources for Jquery
Hi All, I wanted to learn Jquery from beginning.Can u please suggest some important urls and resources. Regards, Praveen
what's wrong with this js?
Hello, I have a js function that loops through and resolves selected cases. I'm trying to allocate 3 seconds for each case to resolve before attempting to resolve the next case. Here's the function I'm using: function ResolveCases(statusCode) { var caseIds = SelectedControlSelectedItemIds; alert('About to Resolve/Close ' + caseIds.length + ' case(s)'); for(var i=0; i<caseIds.length; i++) { var isLast = (i === (caseIds.length - 1)); setTimeout(function() { debugger;
Menu UL LI how to separate opacity from background image and text
Hi, I am working with a menu using background images and ul li. The idea is to build the menu with text in li and a little image in background. For the image I put opacity 0.4 but the problem is that at the same time the opacity of the text becomes 0.4 Can someone tell me how to separate the opacity of the text (1) and of the background-image (0.4) please? I don't know if I must use a jquery function or if I can do that only with CSS you can check the page to http://www.davidinlove.com/ here is the
refresh page on button click in child page without closing child page
Dear all, I have a.aspx page which has a tab container (tab container has 6 tabs, and each tab is associated to different user controls which means a.aspx has references of pages 1.ascx,2.ascx,3.ascx, 4.ascx,5.ascx and 6.ascx) 5th tab (i.e 5.ascx) has a grid view and on the grid view I have a link button. On click of the link button, I am opening another .aspx page (i.e b.aspx) as a JQuery Modal popup page b.aspx has a tab container ( this tab container has 3 tabs, and each tab is associated to
animate text in a image using jquery
Hi, I have a windows 8 tile like image and in that image iam displaying some title.But i want to animate that title when i mouse hover on that image.Can u please send me the code sample how to do this using jquery. regards, praveen
Can we get the MAC Address of a PC using jQuery or javascript
I'm working on a php application and i need to take the MAC Adress of the client PC. Is there any way to find the MAC Adress of a PC using jQuery or javascript??
Creating an html from jquery
Is it possible for someone to help me create an html from a jquery. I have a jquery script and I would like to incorporate it into an html file. But I'm not sure how to go about it. here is my jquery script var directionVAR = "left"; var timeout = 0; function rotateBanners(eqval){ eqval = Number(eqval); var bannercount = $(".portfolio-single").length; var active_banner = $(".portfolio-active"); if(active_banner.css("left") != "0px") return false; if(eqval > bannercount-1){
mouse over text chnage.
Hi, having a problem that when I place mouse over Gainer or Losers the text in <ul><li></li></ul> has t change please help I have<div class="plan"> <h3 class="plan-title">NIFTY</h3> <ul class="plan-features"> <li class="plan-feature">12.15</li> <li class="plan-feature">0.20%</li> </ul> <a href="#" class="plan_buttons">Gainers</a><a href="#" class="plan_buttons">Losers</a> </div>
Navigation Menu Issue with Firefox
I am a very amateur web designer, who is also very new to CSS, so please be gentle… I am having a very frustrating issue with Firefox. My website is designed so that when my main menu navigation bar is too long for the screen, it automatically converts into a drop down menu. Naturally, this function is to better serve mobile and tablet devices. This feature works perfectly on every browser except for Firefox. With Firefox, my main navigation menu bar is converted to a drop down menu, even though
Why not to Use global Variables and why to place all jQuery code in self invoking function..
Hi there- i am new to learning jQuery, my question is : 1. Why not to Use global Variables and why to place all jQuery code in self invoking functions.. when the same thing can run without putting in self-invoking function and keeping jquery. i want to know, reason, apart from the programming noms, what are the caused overheads.
Newbie question: Referring to element by class
Hi, Can anyone offer me some explanation as to selecting an element by class name? In an online example this template code is give for a button element: [code] <button data-catid="{{category.id}}" data-title="{{ result.title }}" data-url="{{ result.link }}" class="rango-add btn btn-mini btn-info" type="button">Add</button> [/code] So there is no element id, but there is a class name of "rango-add btn btn-mini btn-info". The example jquery ajax code is given as follows:
Accordion and sub-menus
I've created a menu using the accordion, and everything seems to be working correctly except for one small detail. When I select a sub-menu item, the sub-menu does not remain "open" when visiting the selected page. That's how it should work, isn't it? I'm sure there is something obvious missing, but I don't see it. The active tags appear to be set correctly. I'd appreciate some help from the community with this one. Here's the relevant code: <script type="text/javascript"> var nav =
Can using a list, modify data in a database?
Hi, I have an App that inserts the data from the customer (name, surname) into a MySQL database. But not is how I make the results of the table 'customers' are displayed as a list <li>. And select the desired to be able to modify data (name, surname). Do you know of somewhere or example so that you can see and understand? Thanks a lot
JQuery Hide Drop Down on Click
Okay, so, I made this in the past (with a bit of help...) and I'm back to using it again, however, I used it for notifications etc. Now, I'm attempting to use it for a login form. I am sure there is better ways of going about this, but I am at a loss for doing those... When I click on a form item, it closes the popup window. I know how it does that, I'm trying to figure out how to fix this so that whenever they click outside the box it closes but not when they click inside of it... <div id="notify"
PARSE DATA FROM TEXT FILE HTML5
ok. I am new to this html5 & jquery stuff. This might be a simple question for everyone out there. Is there away to parse data from a text document or xml to show in a text field when html5 doc is loaded. I dont want a button to activate it all I want is when the page gets loaded it loads whatever is in the text document. Is there anyway to animate that text box? maybe scrolling it.. like a ticker. I know its probably basic to all of you but I was just wondering if someone can help me out with
Code Review: Am I Using JQuery Effectively?
I'm working on a back-end image gallery management page. This particular page is purely for asset organization so there's no user input being stored in the DB, the only thing happening is relational table entries being added or deleted. I just feel like my code is extremely bloated and there's a lot going on. I'm using JQuery and JQuery UI for a lot but I'm wondering if my own personal functions and objects are being used where JQuery code would better suffice. I work with C# mostly and I have a
SwitchClass - How do I Change direction
Hi, I"m very new to jquery so I tend to try to keep it as simple as possible since I'm a design person not a js developer. (show/hide rocks my world, ok?) now I'm trying to use the switchClass. I used the default.html as my starting point. So far I have it doing just what I want, except that I want to position my item in the lower right corner of my content and have the switch move from right to left, bottom to top. (two divs with diff. background images and sizes.) When I position it, say within
Help in running script
I found this old script, which would really help me resolve an issue I have: http://andylangton.co.uk/blog/development/accessible-showhide-content-jquery. I have never used Jquery, (JS or php). Have tried all I can think of (re -html side) but nothing works, it will not hide text, nor show, in fact it does nothing. I know it's me, and think maybe I should be linking to something, but not sure what or how. Any help would be gratefully appreciated.. D)
Need help for my first listview jquery!!!
Hi, I don't get to show the second page after the list button click. <div data-role="content"> this line of code prevents me from doing the rest run correctly. I'm a little lost if anyone can help me I thank you in advance. Benjamin <!-- jquery --> <script type="text/javascript" async src="js/glyphicons/ga.js"></script> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.1.2/jquery.mobile-1.1.2.min.css" /> <script src="http://code.jquery.com/mobile/1.1.2/jquery.mobile-1.1.2.min.js"></script>
How can change configuration parameters of jquery easy pie
I am using `juery easy-pie chart` plugin for making pie charts.Initially I pass default configuration parameters.After I want to change configuration parameters like `bar-color, size`of pie chart. default configuration parameters: $('.chart').easyPieChart({ easing: 'easeOutCirc', barColor: '#1abc9c ', trackColor: '#f9f9f9 ', scaleColor:false, scaleLength: 5, percent:67, lineCap: 'round', lineWidth: 15, //12 size: 150, //110 animate: {duration: 2000,enabled:
trying to call parent window from child window (window.opener)?
I'm trying to get a child window to call a function on a parent window: https://www.dropbox.com/s/gle9sou3gj770ej/WindowOpenerPOC.zip LaunchPage.html is used to open ResolveCaseDialog.html. The Submit button on ResolveCaseDialog submits the selected "Resolution Type" value to window.opener.ProcessReturnValue(). However, when I click the Submit button, the ResolveCaseDialog js throws the following exception: "Uncaught SecurityError: Blocked a frame with origin "null" from accessing a frame with origin
show tab after form submit test fail.
Hey guys, I'm fairly new and not familiar enough with jQuery just yet and hoping you can help. I'm looking to test my form data for a client_id value and display a jQuery tab that includes the client data if no id is found. along the lines of this: function newQuoteSubmit() { var result = ""; var clientId = document.getElementById("client_id").value; if ((clientId == "") { result += " no client id."; $('#clientDetails').show(); // return false; } else{ form.submit();
jQuery UI display as Text Only when published
Hi I created a MVC4 application which uses jQuery Mobile with Lists and Buttons and looks like this when running through VS2013 But after publishing using vs2013, it only displays as Text, and it does not display the list Items: What am I doing wrong or how can I debug the problem?
check out the textBox value on bulr
Hi all, I have a simple problem, I used a text box which it's value property is "Enter your name",and on click event the text value hides and on blur event i set the value property to "Enter your name" again. that works,but when I write some thing then clear it or when I write whitespace ,on bulr the IF condition doesn't verify. can you tell me how to improve the the IF condition to be able to check out the whitespace or "" (none value). here what I do. Thank for help.
Fetch certain checkbox values and put them in an array.
I use the following code to store all checked checkbox values into a variable: $("#myBtn").click(function () { var searchIDs = $('input:checked').map(function(){ return $(this).val(); }); $(".gathering").val(searchIDs.get()); }); It works, but this code gathers ALL the values of checked checkboxes. How can I adjust the coding so that only the checkboxes with a certain class in it are 'gathered' ? For example: I only want to store the values with the class 'myCheckBox'
How to use jquery to identify active image
Hi, I am building a Joomla website which has a background slideshow that has to fill whatever screen it's viewed on and stay fixed whilst the content scrolls up over it. The slideshow therefore gets a position:fixed attribute. I have a problem that mobile devices don't fully support position:fixed and therefore the content does not scroll over the slideshow but continues beyond the bottom edge of the background image which is determined by the size of the screen, and that looks bad. With the help
Themeroller reverse background
Hi, I want to download a theme with the page background reversed. I went to the theme roller page, picked the them I want (overcast), then checked the 'reverse background' box and downloaded the theme. When I opened the sample page, it did not show the page with the dark background. What the heck am I doing wrong? Thanks!
Next Page