[NOKIA]HEADER AND LEFT MENU
[NOKIA]HEADER AND LEFT MENU the content of the header disappear when you click un nav link
Add item to Sortable toArray
Hi, I have got the toArray to work but when I add a new item to the list with .prepend() the toArray returns a empty spot between the commas where the new item is. I've tried to: disable, destroy, refresh, refreshPositions and a lot more and it wont work and I'm not finding other people having the same problem either. Is there anyone out there who knows what I'm doing wrong? Thanks!
create a select all checkbox for every three checkboxes
i display many chackboxes organized in three columns in my razor view and i want to create a select all checkbox for every three checkboxes (every row): <table> <tr> @{ int cnt = 0; string sr =null; string j = null; string k = null; List<Security.Models.AssignedRolesVM> Roles = ViewBag.tp_role; foreach (var role in Roles) {
Turn objects into array
I have created 3 instances of my box object, but would like to access these as if they were a numbered index array. Is this possible? function box(position, text) { this.pos = position; this.tex = text; } //////////////////////////////////////////////// var box1 = new box(1, "text 1"); var box2 = new box(2, "text 2"); var box3 = new box(3, "text 3");
IE 11 Error Canvg.js parser error
Dear, I am traying to save my chart as image. This works good with Firefox but it does not work under IE(11). The error is happening with: if (window.DOMParser) { var parser = new DOMParser(); return parser.parseFromString(xml, 'text/xml'); <----- Error } has anyone any idea how I can solve this problem? Thanks
HTML 4 - Audio Controls
Hi there, Sadly I have to build eLearning for a client still on IE6. The page requires audio. I have used the embed tag for embedding audio. I want to build custom play/pause button, rewind button and progress slider. I have managed to create the play/pause buttons. Is there any way I can know if the audio has finished playing or reached the end so I can toggle the pause button? Can I rewind the audio? Can I know the current time and total time to create the progress slider? Thanks in advance.
jQuery help
Hi, can anyone tell me why the alert is not firing in this jsFiddle example. http://jsfiddle.net/164emnq7/1/ Thanks.
Superfish Dropline -- want sibling items to remain visible when submenu is selected
I'm using Superfish in a WordPress installation and can't figure out how to make the submenu-level items remain visible when one of them is selected. It works when a top-level item is selected; all submenus remain visible unless another top-level item is hovered. I think the argument is "pathLevels" but it's not working. Site is here: http://safetycowboy.com/syso_test/
Loading data from server side file into a java variable for plotting
I want to load data for Chart.js for plotting. My data is created in a directory on the server side. Name of my file = myFile.json. Based on my trials and the documentation I read, the following works for me pretty well. <script> var myData; $.get("myFile.json", function(data){ alert(data); myData = data; }); // ---- This didn't work for same asynchronous reasons --- alert(myData); //Send the data to chart.js var pieData = eval("[" + myData + "']"); // Command
Horizon jQuery Tabs?
I'm looking for a more organized way to list states and cities. I would like to have 25 states listed stacked on top of another 25 states and when you click one, a gray bar drops down to show a list of cities for that state. Anyone seen anything like this I could use? For example:
move content
This is a very simple jquery move that has me stumped. With a source view one can click on both js scripts and see the path is right. I have tried different jquery & general.js scripts, initial.php is in the same folder. http://www.lplc.co/cont.html general.js $(document).ready(function() { $('#content').load('initial.php'); }); $('a').click(function() { var page = $(this).attr('href'); $("#content").load(page); return false; })
How the page load is done
Hi, I am testing a template called devoops and when I navigate from page to another that a progress bar appear and start to load inside the page itself then disappear and the page appear without the page itself reload like normal using of href tag. The URL become like this http://localhost/devoops/index.php#ajax/charts_xcharts.html And if I create new page in the ajax folder and calle it using href I find the page also load the same way. I want to know only how to load a page like this, what scripts
Problem with Colorbox
Hello, I'm currently trying to get Colorbox to work on my website and I'm having some difficulties. I get the first image to pop out but I have no idea why I can't scroll to the other images. Does anyone have any suggestions? It's the "Sharkfest'14 Gallery" button on the right side of the screen. http://sharkfest.wireshark.org/sf14.html Thank you!
Unable to apply dynamic css style
My function writes out a string each time the mouse is clicked, I can't get the string to show red as I require, thanks for any help- <script> $(document).ready( function(){ var counter = 1; function showstring(event) { var stringholder = "a text string"; $("body").append("<div id=" + counter + ">" +stringholder + "</div>"); $("[id= counter]").css("color", "red"); counter++; } $( document ).on( "click", showstring); }); </script>
Ayuda: Envio por Post en una tabla dinámica.
Hola Amigos. Me estoy complicando la vida hace unos días para enviar de forma correcta principalmente 2 variables ("cant_prod" y "infoProd") por $_POST en una tabla dinámica. Ojalá pueda resolverse con Jquery. ¿Alguna idea?, por favor. Este es mi código y no logro hacerla funcionar: <form action="/lista-productos-pedido" method="post"> <div class="contenedor_tabla"> <div class="alturaTabla"> <table class="fancyTable" id="table_3columnas_fixed"
<em> element cannot accepts a new class but does not implement it
Hello, I am new to jQuery and my question might sound really beginner-silly, but I could not find any solution to it in the web. I am trying something very simple following book instructions: assigning an <em> element a new class. It accepts it but does not implement the changes associated with the new class ?? The <em> element inside the first <li> element has class=under according to Firebug, but the text never gets underlined Am I doing something wrong ?? Here is the 1) HTML 2) jQuery <html>
jQuery Validate issue with username checking with database
I got this code from the internet and it work perfectly for the email but with username there is a problem. When ever i type something it display the error 'Username have been taken' even with spam. I just wonder if anyone can fix it up. Thanks. My Script $(document).ready(function () { $('.registerForm').validate({ onkeyup: false, rules: { username: { required: true, minlength: 5, maxlength: 20, remote: { url: 'core/check2.php',
Processing AJAX request.done data
As part of a case statement "Execute Query" I want to add code to use two radio buttons to select a type of query. One to select "Player" info and the other to select "Future" info. Once a choice is selected a flag will be set to pass on to the function "getQuery(query); " Problem is all the code beginning with var str="<input... and ending with the function "function doquery(querytype)" is skipped. Appreciate help to make this work. (I'm thinking maybe I'll have to have two case statements Execute
Detect Input changes jQuery
Hi, What is the best way to detect changes in a input box? I have tried this but it doesn't work. $(":input").on("DOMSubtreeModified", function() { run code }); Any help will be appreciated. Thanks
Dynamic List Not Working Like It Should.
I have run into a problem with a dynamic listview - see attached fiddle, https://jsfiddle.net/a4poster/2fg6jbm8/ I cannot get the ID when a list item is pressed from the second page once a page is inserted before or after it. It I remove page one it works like it should but of course this is no good for me as I need it to run in a multi-page structure. With thanks.
getJSON and twitter
Hi, i have a question, im sorry if this is something stupid but im kind of getting crazy so i ask your help :) Im trying to connect to twitter api to get some tweets, here what i did : (function(){ var Twitter = { init:function(){ this.url = 'https://twitter.com/search?q=pekiti&callback=?'; this.fetch(); }, fetch: function(){ $.getJSON(this.url, function(data){ console.log(data); }); } };
slicknav - can't get it to work at all
Dear gurus, Desperate for help on this one. I build in Dreamweaver and have managed to use various bits of jquery in some sites I build but I cannot for the life of me get this one to view so something must be wrong with my code and I don't know what. I've started over about 5 times, even removed my own stylesheet in case that was the problem; changed the position of the script tag and many more tweaks, none of which is working. With this plug in, before you give it the mediaquery - it should
Instead of fire my method after 3 second setTieout display it on load
< script type ="text/javascript"> $(document).ready( function () { window.setTimeout(Alert.render( 'Test' ), 3000); }); function CustomAlert() { this .render = function (dialog) { var winW = window.innerWidth; var winH = window.innerHeight; var dialogoverlay = document.getElementById( 'dialogoverlay' ); var dialogbox = document.getElementById( 'dialogbox' ); dialogoverlay.style.display = "block" ; dialogoverlay.style.height = winH + "px" ; dialogbox.style.left = (winW / 2) - (350 * .5) + "px" ; dialogbox.style.top
Font weirdness
So, I guess we've gotten another lovely Zoho update that has broken something in the editor again. It's some: Font Weirdness
JQuery JSON Tumblr and Last.fm API--not appearing in correct order
I have a list of my recent Tumblr audio posts coming in through the Tumblr API and with each post, an artist summary from the Last.fm API is attached. I have the data coming in correctly, but the audio posts are not showing up in chronological order. Every time I refresh the page, they appear in random order. I would like to have the most recent audio post appear at the top. Here is my code: $(document).ready(function() { var user = "nycxnc"; var key = "###"; var type = "audio"; var limit = "5";
ScrollTop - Animate Function does not work in IE
I've got this function (throws an error): $(function () { function scrollToAnchor(aid) { var aTag = $("a[name='" + aid + "']"); $('html,body').animate({ scrollTop: aTag.offset().top }, 100); }I get this error: JavaScript runtime error: Unable to get property 'top' of undefined or null reference It seems to work in Chrome, though most of our users are directed to using IE. (errors in v9-11) I've searched and searched and nothing I've tried works. Anyone
Can't get ID of an object
Hello, I really don't know how to get the ID of an attribute of a child of an object. Please can someone help me out? Attached, you can find the console log: I have an array myOrders, with a child and many other attributes. Many thanks!
Scriptcam not sending videos via FTP
Hi guys, Sorry if I make any mistakes posting here, this is my first time I have setup Scriptcam on my website using their record video demo ( http://www.scriptcam.com/demo_2.cfm ). Everything is working fine apart from the files are not being sent to my FTP server I have verified the domain as per their requirements with a HTML file successfully and have also successfully setup the FTP credentials and path for saved videos. This is confirmed as scriptcam uploads a temp.txt file to the correct folder.
Why is my JQuery UI slider not appearing?
Hi there I have been using a different slider plugin but it wasn't quite right and decided to switch to JQuery UI. However the slider does not appear at all. Here is my JS: $(window).load(function(){ $('#introModal').modal('show'); $("#result").html("187889"); $("#result2").html("193008"); $('#calculate').hide(); $('#calculate2').hide(); $("#investmentName").html("Example Grant Programme"); $("#investmentName2").html("Example Social Investment"); $('#nameyourprogramme').hide();
JQuery Cycle 2 and Video content
Hi, I have a rotator using JQuery Cycle 2 that contains images and videos. For videos, it will either be in YouTube or Movideo player. Scenario 1: The cycle should be auto-rotating but it should pause when a video is played. Scenario 2: When the user manually moves to next slide while video is playing, the video should pause. Scenario 2 is handled by JQuery Cycle 2 YouTube plugin http://malsup.github.io/jquery.cycle2.video.js But how can Scenario 1 be integrated into this as well? Thanks!
Clicking a second link does not update a div
Hi all, I need your help for my project. I have three links and one div in a PHP file. I want this div which is empty on load of the page to be updated by new content each time i click a link above it. The problem I have is that clicking the first link works perfectly (I take content from a file and loads it into the div), but clicking the second link does not work. When I click the second link, I want the div to be repopulated (by replacing previous content) by an html form with fields to be used
Showing +3 days from today by default and setting second dates on selection of first dates
Hello I have 4 date fields HTML <label>Departure Date:</label> <input name="dateFrom" type="text" class="imputdate" id="DepartureDate" value="dd-mm-yyyy" /> <label>Return Date:</label> <input name="dateTo" type="text" class="imputdate" id="ReturnDate" value="dd-mm-yyyy" /> <label>Check In Date:</label> <input name="dateFrom" type="text" class="imputdate" id="CheckIn" value="dd-mm-yyyy" /> <label>Check Out Date:</label> <input name="dateTo" type="text" class="imputdate" id="CheckOut" value="dd-mm-yyyy"
Please help, tabs display in sharepoint 2013 using jQuery
Hello SharePoint 2013 users, I am having trouble in making SharePoint 2013 make tabs in the item level display of a list. Could someone help? What I am trying to do is edit a list of items to be presented in a tab format, with each tab containing 6 items that dynamically update. I have tied different things like the jQuery tabs function but it only works on one level of display and does not seem to allow dynamic items to be displayed. I have found someone that made something that is close to what
Newbie: Background image is jQuery Mobile page?
Hi, Is there a way to have a background image in a jQuery Mobile page? The idea is to have a nice image (say a flower) that is shown as background of a page including that of any listviews, tables, grids and other controls on the same page. Is that possible and, if so, is there an example of doing that (w/o plug-in)? Thanks in advance and regards
Infinite Loop matter !
Hello I've got some matters with my infinite loop function on a website I've built. Since some days, the loop doesn't loop at all. It stays fixed on the first image. here is the url to the website. laurevangaver.fr I am pretty rubbish concerning the html code , so if you can help me, that would be great . Especially since it's pretty urgent, and my customer Needs to show her work fast enough! And here is my code for this page : <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Question about Javascript tutorial, don't understand 'main.js'
In the given JQuery tutorial, therefor my thanks, I was directed to the principles of Javacript, also not well understood (please see here for my question) I try to excecute the example (you must first download it etc.), Hello World, but without succes. Now add the following code to the main.js file : (html ext.!) var myHeading = document.querySelector('h1');
myHeading.innerHTML = 'Hello world!'; Problem: I made a folder/html: name main.js, and pasted this between <body></body>. No result. Nothing
Destroy Event
I have some cleanup I want to do when a standard widget is destroyed. Extending the widget is overkill. So, my question is: Why is there a 'create' event but no corresponding 'destroy' event?
Newbie: Is jQuery Mobile 1.4.5 compatible with 1.4.0
Hi, I have been using with 1.4.0? I was wondering jQuery Mobile 1.4.5 compatible with that (based on practical experience) before we do upgrade? Thanks in advance and regards
how to read the value of a hidden fileds ?
I used lot of data attributes in my html code, but when deployed I was surprised Apache is not supporting data attributes, so I am trying to convert data attributes that have array as value to hidden text field. here is a fiddle that show the html code : http://jsfiddle.net/mlotfi/dtmzaevb/ Can you please show me how to read the value of those hidden fileds in jquery ? thanks
jquery tabs
i have an ajax loaded page on one of the tabs and it has reference to datatables.js and also current page which has the tabs has reference to same js. The datatables wont work if I havve this ajax loaded tab has reference to the datatables.js and it works if i remove this reference in the ajax loaded tab. Please suggest me what exactly is the problem and if possible a way to avoid it. Thanks In Advance !
Next Page