think i have linked my scripts in wrong
<!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> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Welcome to Groundswell</title> <link href="_css/main.css" rel="stylesheet" type="text/css" media="screen, projection" /> <link href="../../../../../jquery/Ex_Files_jQuery_EssT_2013/Exercise Files/07_realsite/Groundswell_Start/_css/sunny/jquery-ui-1.7.2.custom.css"
Jquery Mobile and JSON
Good evening everybody! I need hel to understand a weird enviroment of my web app. I'm trying to create an app with Phonegap and Jquery mobile. I have a problem with the refresh of the listview. I download data from JSON and create a list of elements. The list it isn't correctly downloaded untill I don't click refresh on the browser. What's the problem? Next you can see the HTML and Javascript pages. HTML <!DOCTYPE HTML> <html> <head> <title>CATEGORIA THRILLER</title> <meta name="viewport" content="width=device-width,initial-scale=1"/>
Jquery Data table
Hi , I am new to jquery. I want to develop a grid with Formula's. If user right clicks on column, i need show a context menu like Edit formula for that column. I need to get the formula for that column show in text box(Separate screen). Once user changes formula, i need apply to that column. Ex: i have 3 columns like A,B,C. C column is a formula column like C=A+B, i want to give user a chance to change it to c=a-b. Please help me how can i approach for this feature. Thanks in Advance.
Find the right script
Hi, I've found a few scripts but each is about one elements away from what I need Any help tweaking them would be fantastic. 1) http://tpctestsite.weebly.com/ Is there a way to show the name in the right box in the order they were selected rather than alphabetically. 2) http://tpctestsite.weebly.com/5678.html same problem as number 1 3) http://tpctestsite.weebly.com/9000.html can't get to work on iOS or android 4) http://tpctestsite.weebly.com/1000.html would like to enforce a minimum/maximum requirement
Send form input to function
Hi; I need to send user input to a function so it reads a div onkeyup. I have done what I thought but I need help to pass the user input to the function and then to the other page that gets reloaded (and I dont know how). This is the page. The input field under Search By Suburb. This is the code that calls the function on okey up: <div class="col-md-6"> <div class="panel panel-info"> <div class="panel-heading"> <h3 class="panel-title">Search
Div tag disappears after postback
I have jquery adjusting the height and width of a div tag but when there is a postback. The div tag disappears. Does anybody know how I should keep from this div tag from disappearing after a postback? Thank you, Shawn
PART 2: HOw to use localStorage to create an array used to hide certain table rows...
I have narrowed the code issues down to one last spot. I can't seem to get the code rode to .hide() the table rows TR based on the localStorage values. The following code creates the localStorage and then tries to hide the TR that contain the localStorage values. full jsfiddle here: http://jsfiddle.net/vhabhsrosed/qd5kJ/ thanks so much in advance for any advice. I'll keep trying to figure it out but //THIS updates LOCALSTORAGE AFTER EACH CHECKBOX CLICK. USE ON PAGE 1 $(document).ready(function
After called "unbind" event i'm unable to "bind" it again
Hi, iv'e this simple problem $( window ).mousemove(function( event ) { console.log('diocane') //some stuffs }) $('#header').mouseleave(function(){$(window).unbind("mousemove"); dimensioniHeaderDefault()}) $('#header').mouseenter(function(){$(window).bind("mousemove");}) The problem is that on mouseleave the mousemove event for the window object is correctly "unbidden" (i do not see "diocane" into the console) But once mouseenter again into the header element, it should re-activate the mousemove
jQuery Validation unable to read my remote message and displayed incorrect CSS
I'm using jQuery Validation to checking the username availability. I'm able to check the username but when the username existed in database it won't show my error message. Also if you are insert the existed username on the username field it will display the error but if you continue to try another username the error style are become none. I have attached the screencast for viewing my error. http://www.screencast.com/t/hQdRev1HOnh Also this is my script. <script> $(document).ready(function()
Manipulate client-side Sql databases
What about this API for client-side sql databases ? http://dev.w3.org/html5/webdatabase/ I think that it is interesting.
Increment date and time by 1
Hello. I have a rather simple code that shows the time and date as one string. Example: if now the time and date is 07:30 on 17/12 then the output is 07301712. Im trying to find a way to increment each of the numbers by 1 per each number. Example: if my current output is 07301712 then i need jQuery to output 18412823. which means +1 to each number in the string. How can this be achieved? <span id="date"></span> var now = dateFormat(new Date(), "HHMMddmm"); $('#date').append(now); Thank you for your
tablesorter plugin problem with IE
using tablesort with my gridview has 930 records when paging the border lines getting messed. It only happens with IE not with any other browser. If any idea please provide solution. thanks in advance Kulasekar
Trigger function working in all browsers except chrome
Hello and thanks for the superb forum!! Im using a script where you can add a postal code on a form which will be sent to an iframe. It works in all browsers exept for Google chrome. This is the code im using: <?php if (isset($_POST['postcode']) && !empty($_POST['postcode'])) { ?> <script> $( document ).ready(function() { $('#sd-iframe').load(function() { $('#sd-root').trigger('setFieldValue', { name: 'postcode', value: '<?php echo htmlspecialchars($_POST['postcode']); ?>' }); });
Jquery Cycle and Fancybox
I am trying to create a slideshow that uses the Jquery Cycle plugin. Inside each slide I would like to have images that open up to fancybox lightbox. The issue I'm having is that when the Cycle code is left alone, the images do not open nor do they even act like links. When I comment out the Cycle code, the images again become links and open the lightbox but it, as would be expected the slides are no longer slides. I'm new to Jquery so I appreciate any tips you can pass along. Here is the code I'm
Validate - Disable enter key submit but still run validation
Having trouble getting the benefits of the validate function while disabling the default submit (i.e. enter key). I have a complex form with lots of text fields, some required, some not. When the required fields and all other validate rules have passed, hitting enter in any text field submits the form, which I do not want. I want to restrict validating and submission to clicking the Save button. Setting onsubmit to false prevents the validation from running at all and it's not clear from the docs
Integrating custom javascript into a CMS and the "TypeError: $ is undefined" error.
I'm nearly finished integrating a wrapbootstrap theme into Drupal. But the custom js (which words perfectly outside of Drupal) is making drupal ornery. I was getting a js "TypeError: $ is undefined" error in: http://noname.com/sites/all/libraries/bootstrap/js/ace-elements.min.js:" I surrounded the code in ace-elements.min.js, as per [ https://drupal.org/node/171213 ], with the following and fixed that error. But now I get a: "TypeError: ace.settings is undefined" in: http://noname.com/sites/all/libraries/bootstrap/js/ace.min.js:
Problem with jQuery processing logic
Hey guys, I've got a problem with using jQuery for changing class-attributes of some DOM-Objects. I've gote some Code like this: $(document).ready(function () { $('#bundles').click( function () { $(this).toggleClass('bundlesNegativ', 'bundles'); [...Some Code that isn't relevant...] arrangeNote(); }); $('#singles').click( function () { $(this).toggleClass('singlesNegativ', 'singles'); [...Some Code that isn't relevant...]
populating dropdown using jquery
Hi, I am new to jquery. I am trying to populate second drop down based on the value selected on first drop down. I am able to implement up to this point. The form have a continue button. If the user click continue button next page is loaded which have a back button. If the user clicks on back button previously selected values should be automatically selected. I am able to re-select first drop down but second drop down is not getting populated as it is happening on change event of first drop down.
Unable to refresh datepicker in dojo environment
Hi I have trouble refreshing jquery.datepicker in the dojo environment. After getting the json (date and number of tests) by request.post, I forced result json into array object. I call function - " refreshdatepicker();" and nothing happened. Please see my code below:- var arrDatesNTests = []; function checkavailableDates(mydate) { var $return=false;// set all dates disenable var $returnclass ="unavailable"; $checkdate = $.datepicker.formatDate("yy-mm-dd", mydate); for(var i = 0; i < arrDatesNTests.length;
Jquery post issue. Loads wrong file!
Hi; I use this code below to load a new page in a div. This is the page that gets loaded into the div. As yoy can see it is only an array. But for some reason when I click show number it loads the same page again in the div, not the requested page. Can anyone see what the problem is? Thank you function view_phone_number(id) { $.post('http://test.goldcoast-flatmates.com/phone_number/'.id, { id: id, <?php echo $this->security->get_csrf_token_name();?>: '<?php echo $this->security->get_csrf_hash();?>'},function(output){$('#phone_number').html(output).show();});
Jquery UI Autocomplete Combobox Reset
I'm attempting to modify the demo to suite my needs. However I find it annoying that it doesn't clear the text for the user. I reuse the input field, so when a user clicks on it I'd like it to clear itself. Also I'm curious if it'd be able to match not just the text field, but the value field. I have different values set for my select options. I'd like the autocomplete to look for both the text and values. Any guidance, particularly for the reset on focus would be appreciated. I've googled this to
Problem with UI spinner decimal places and event
I'm using a numeric Jquery UI spinner on a text input. I need the spinner step to be 0.1, but the value to be rounded to 2 decimal places, not 1. If a value like 1.55 is input into the spinner, the value should be set to 1.65 when spun up, not 1.7 like it normally does. It looks like this is not supported, but I can't find an applicable workaround. I tried a way below, but it doesn't work and also gives an error, 'member not found'. Also, I need to have an onblur event on the input field, but this
Questions related to what is reasonable to consider as a public interface to JQuery validate
Normally I'd say "What is on the documentation page". But: I generally call validate() on my forms based on the existence of a class: $("form.validate").each(function(index) { $(this).validate(); }); I'm finding that after the fact I would like to sometimes allow validation on some of the hidden fields in a form (yeah, I know). If I knew in advance, I'd simply do: $('#formID').validate({ ignore: ':hidden:not("#fieldID")' }); But I don't. I also don't see a documented interface for
problem to add result in database with jquery
hello, i have a problem to add my result in my database, look at my code : index2.php <!doctype html> <html lang="en"> <head> <meta charset="iso-8859-1"> <title>Calcul mental</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/foundation.min.css"> <script src="http://code.jquery.com/jquery-latest.min.js"></script> </head> <body> <div class="row"> <h1>Calcul Mental</h1> <div class="columns large-12"> <h2>Quel est le résultat de ? </h2> <div
Help with a selector
I need to select the "Select this" text from the< td> .Don't need the bold part. What is the correct selector. <td> <b >Status: </b> Select this </td> $'td').(':not("b")').text()) is not doing it. Please Advice.
Best ComboBox Solution
I have a question regarding Comboboxes. After a few searches i've seen a number of different versions of Jquery Comboboxes. On my site I need to populate a few comboboxes from a database table. Can someone please forward me to a good site with sample code of the simplest yet effective solution. I'd probably prefer to code it myself but i'm open to other options. Please Help..
Notification
Dear forum users, I made a jquery notification system and it works! BUT... I want to make it like fade in when it shows. But it don't work! I don't know why. Could someone help me out? The script.js is down on this page!!! index.php <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> <script src="script.js"></script> </head> <body> <script type="text/javascript"> notificatie({ type: "error"
Superfish does not show properly over Flash file on Explorer
Hey everyone, I'm setting up a Superfish horizontal menu. The menu is in a div, and just below that on the page is another div with a swf flash file. On Explorer, the menu drop down looks like it is opening up under the swf flash file. As if the Z-index is messed up. Is there a fix? It works fine in Firefox/Chrome. Thanks for any help!
Show and Hide
Hi, I want to show and hide a div element using jquery, but not in the default show hide method. Example: if i use $("div").show(slow); means its taking from TOP LEFT CORNOR to DOWN RIGHT CORNOR, insted of that i need from TOP RIGHT CORNOR to DOWN LEFT COENOR. How to achive this. Thanks
Help! Problem with simple script
Hello, I'm taking a few steps in jquery, but I have a problem that had not before ... by clicking on the input type = "button" with id = "btn-send", the # result is not shown .... I can not find the solution you ... I would appreciate your help. <script type="text/javascript" src="js/jquery-1.9.0.js"></script> <script type="text/javascript"> $(document).ready(function(){ $('#resultado').hide(); $('#btn-enviar').click(function() { $('#resultado').show(); }); }); </script>
Prompt doesn't let the page load
Hi Everyone, I have designed a webpage that uses a prompt. I am using the prompt as a form of password to retrieve information about the webpage. I am having two issues: 1st one is that the prompt on the top says: The page at: 192.168.X.XX says: and then the actual message that I wrote: Enter your password: Is there a way to change the title of the prompt? 2nd Even though I placed the prompt script inside document.ready() function, it will not let the webpage load completely? <script> $(document).ready(function()
mobile jquery file in blogger
hello i have applied jquery mobile accordion in blogger. first the blogger loading its works fine. while click on any post header for post details . it makes problem pls help Thanks
image quality after adding data-position="fixed"
My footer is a grey strip with 4 social media icon links. Looks great normally however since adding data-position="fixed" to the footer to ensure it sticks to to the bottom of the screen at all times, the image quality reduces. See both images below, the top one being before adding the fixed code and the bottom being after. I have tested and as soon as I remove the 'fixed' code my images are perfect again. Are they somehow being stretched by the css assigned to the fixed footer code? I tried adding
Php won't function in collapsible-set
Is there a specific reason that I can't execute some basic php-code inside a collapsible-set? I have tried it on many ways, but without succes. Is there some kind of basic rule which I don't know of?
each table rows
I have this situation var tableHtml=$('.tableClass').html(); Now I want through iterate through each of the tr inside the tbody. I tried $(tableHtml).find('tbody > tr').each(function()); Cant get it to work. What is the right way of doing this. Due to special requirements I have to put the tabke html into a variable. Please Advise.
How to disable Slider text box?
I'm pretty new to jQuery and jQuery mobile and my employer wants me to create a series of sliders stacked vertically without the accompanying textbox. Is there a way to disable this, or toggle it's visibility? Thanks!
IE8 Jquery settimeout crash every 3-4 days
I have this html page running on IE8 and it crashes every 3-4 days. Is it something wrong with the use of settimeout here? I also used proxy and it did not help. But it can run on Firefox with no issue. <html> <head> <meta charset="utf-8"> <title>jQuery.proxy demo without proxy</title> <script src="C:\Documents and Settings\xc91977\Desktop\JqueryLib\jquery-1.9.1.js"> </script> </head> <body> <div id="log"></div> <span></span> <h1></h1> <script> var me = { _panelRotationTimeout:
Sliding Panel in a screen with Fixed Header and Navigation Tabs
Hi, I am facing issues when using fixed headers with nav panel and sliding menu(reveal/push mode) with android devices. Below 4.0 sliding panel doesn't open and on 4.0 and above the panel content goes under the header and navigation tabs. I am a newbie into hybrid apps with JQ. Kindly suggest if there is a suitable alternative
How to use common jquery drag and drop code with two divs containing elements of identical ids
hi all, I have common jQuery function for drag and drop and two div tags. Both div tags have different ids but both containing elements of identical ids. I have a block and a placeholder for each so when i drag 'block1' olny placeholder of first table should be blink and but both are blinking. Here's link to my fiddle - http://jsfiddle.net/2pFqe/3/ In jsfiddle i have two divs of id, 'id1' and 'id2' both containing elements of same id. Now when i drag block1 both placeholders are blinking. I have
Isotope sort after append
I tried this: $("#add").click(function(){ var $newIems = $("<div class='post-body post item'>itemName</div>") $(".items").isotope("append", $newIems, true); }); $("#sort").click(function(){ $('.items').isotope({ getSortData : { content: function ( $elem ) { return $elem.find('.post-content').text(); } } }); $('.items').isotope({ sortBy : 'date' }); $('.items').isotope( 'reLayout' ) }); But the items wont get sorted. is it possible in general to add new items to the isotope container and sort them
Next Page