Ajax and firefox
i am building a social site in which i can attach images. I attach an image to a post and before i share it i decide to delete the image and attach a new one. When I share, it doesn't work. Firefox things the ajax request is a post when it should be a put request. I am not creating a new post only updating the image that is attached to the post I already created. Is there a work around for this?
This is really a web page bug report more than a question
I just want to provide some feedback. I have been trying to get started with jquery mobile and find that the jquerymobile.com web pages do a very poor job of supporting beginners. First let me say that jquery mobile looks like a wonderful thing. Lots of people have obviously worked very hard to make this a great tool. Some of the things I say below are probably wrong. Some things that I say don't exist probably do, just not where I expected them to be. Please don't take this as a detailed bug report.
IExplorer/Yahoo Messenger Games Plug-In Error "Object doesn't support property or method 'onSoundOn' "
Hi, i am using Windows 8 32-bit, Yahoo Messenger 11.5.0.228, Java Ver 7 Built 17 (built 1.7.0_17-b2) and my Security Settings are set to Low, for enabling Java Script to run properly. However, when i try to play any game in the Yahoo Messenger Window, an error appears saying: 1. Object doesn't support property or method 'gameSendData' or 2. Object doesn't support property or method 'onSoundOn' I think this error is from Java Plugin and not directly from Yahoo Messenger or IExplorer. When i try also
Problem with animate({width:'toggle'}); on mouseover/mouseleave...
Hello everyone, I'm actually working on my future new website (I'm graphic designer), which is almost ready. However, there is some kind of bug I can't solve : I want to, at articles mouseover, that a div, with some related informations, slides horizontally. As you can see on my testing website, on article's over, the div slides normally, but if you go to the right-bottom corner (the "+" square), the animation "blows". And worse, if you go on the "just slided" div... I checked my codes (html, css,
Disable Siblings
I have this: <form><div><span><select multiple class="chzn-select"> <option> <optgroup><option><option> ... <optgroup><option><option> ... This select element is being handled by the jQuery plugin Chosen. When option is selected, I need its siblings to be disabled and the element be rebuilt. This is my completely ignorant attempt: $(".chzn-select").chosen().change().siblings().attr('disabled','disabled').trigger('liszt:updated'); "When an element being managed by Chosen is changed, gather the
Need to double click button in toogle
I have this page if i click a button ,next page ll load in a div , if i click same button again it wont work i need to Double Click it . Here is the Code Help Me please $(document).ready(function(){ $('.hindimovie').toggle( function() { $('#middlecontent').load('hindimovielist.php'); }, function() { $('#middlecontent').unload('hindimovielist.php'); }); });
Toggle class
I need to change the whole style sheet upon toggling .. at button click there are two style sheete stylesheet_a.css nad stylesheet_b.css and the only difference between two is body color (one is red and other is green) but its not working fine ..Let me share code <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> <link rel="stylesheet" href="stylesheet_a.css" type="text/css" id="myStylesheet"></link> <script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
What is the correct way to use this selector?
Say, I want to grab a reference to several elements, I use a selector like this: $(input); But if I want to keep that reference, which one of these is the proper way? var el = $(input); $el = $(input); Thanks
radio button combinations to show hidden DIVs
I am new with both javascript and jQuery. I found an older example here of grabbing multiple radio button checks and displaying certain DIVs as a result. http://forum.jquery.com/topic/form-combination-of-checked-radio-buttons I have a similar task and created the page discussed. The script seems to display an OR result. Radio button A or radio button K cause the correct a-k DIV to appear. The problem is, I need an AND result. I need a DIV to appear only if both A and K are checked. The code
Cookie help needed jQuery UI, utility ...
Hi all, For my privacy&cookies policy I need to find out what some Javascript-Cookies are doing which I have on my website (not public yet). I am not a programmer, I do not understand code, but I have seen in my sourcecode (Oxid Community Edition 4.6.5) a couple of Javascript-Cookies, for which I am unable to understand what they are doing. In these files I have found an indication for the Jquery Website, so I try it here I have found cookies in these programme-files: - jquery-ui.min.js (related
Remove class from all tr but the last selected one
Hi all, I have a page with a lot of tables, and each table has selectable rows. When a table row is selected, the "highlight" style is applied to it. I need to "unselect" (i.e. remove the "highlight" style class) from each row but the last selected one. Here is a code example: <table> <thead></thead> <tbody> <tr class="content highlight"> <tr class="content"> <tbody> <table> <table> <thead></thead> <tbody> <tr class="content highlight">
Need a Sparkline graph with MySQL data
Hi there, I've been working on a project where I'm using PHP & MySQL to retrieve data from our database to display data (at the moment in html tables), but would like to display the results alongside a sparkline graph. I've had very little experience with javascript and this is my first real test. I have included the jquery.js and jquery.sparkline.js libraries, and created a HTML page with the sparkline code, but when I try to pass MySQL query data to the sparkline values I just get PHP errors.
load link into slider when clicked-ajax jquery
hi i,m new in jquery i have a problem with this code if any body can help me pls help :( i have 2 category in database and all 2 category have image(pic) i want load image in image slider when user clicked on any category code: $("#test).load('test.php?name='+categoryname,function(){ $('#slider').nivoSlider({ effect:'random', animSpeed:500, pauseTime:3000, }); }); html code: <div id="slider" class="nivoSlider"> <span id="test"></span> </div> test.php code echo "<img src='$return' alt='$des_return'
Blinking/Flashing on .mouseenter
Hi I'm using the following jQuery to hide and reveal a text div on this portfolio site <script type="text/javascript"> jQuery(function($) { $('div.photo').mouseenter(function() { $(this).siblings('.rollover').show(); }).mouseleave(function() { $(this).siblings('.rollover').hide(); }); }); </script> One of the contributors on here helped me tidy up the code. My problem now is I get a flashing blinking effect when the cursor is over the .photo div. You can
Object definition?
Hi can somebody explain me, what is this for kind of jquery declation var selectBoxContainer = $('<div>',{ width : select.outerWidth(), className : 'tzSelect', html : '<div class="selectBox"></div>' }); var dropDown = $('<ul>',{className:'dropDown'}); Thx
Accordion Next Button in PHP 5.4.2
Hey I have used accordion before but very new to it. I use a next button to make the tabs slide up the code I use is below <input type="button" onclick="$('#accordion').accordion('activate', 1);"> But it now longer works since I've upgraded to php 5.4.2 Any help would be apprciated I am very very new to programming so forgive me if this question is stupid.
preventDefault Help
Hi totally new to jquery, im having trouble controlling which class preventDefault is applied to. $(".main-cat > a").click(function (event) { if($('.main-cat > div:has(.sub-cat)')){ event.preventDefault(); } else{ alert("sub cat does not exists"); } }); The problem is it is also working on a .main-cat which doesnt have a child class .sub-cat. Any help with this is greatly appreciated. Thanks
Moderator Help
How do I contact a moderator here? There should be some Help link maybe? What a great forum design. I posted a question about 1 hour ago and it still doesn't appear. I'm going back to Microsoft forums if this is going to be so painfully slow.
Call elements with jQuery after submit form
Hi, I'm new to jQuery. I've created a form with 3 sliders. The values of the 3 sliders are added and printed to a label. If the added value equals 80, a button is enabled. This works fine before the form is submitted. But after submitting the form (post to same php-page), I cannot get the values of the sliders, change the label-text and enable/disable the button again. I did manage to call the event again with .on("change",function(){ ... }); How to call/activate/bind the other elements? $("#sliders").on("change",
Scrolling headband of images
Hi everybody! I want to make headband of images scrolling endless from left to right (when the first image disappear to the right side, it appear to the left side). I'm a newbie with jQuery and i'm completely losing to find a solution to this issue. Plus, I want the ability to stop and go the animation when I want (specific event). Help! I need somebody. Help! I need someone.
Setting focus on first input element
Hi All, I am new to JS, Jquery, JSON and AJAX as well. My problem is: After submitting a form, I want to focus the first input element of my home page. I think I am able focus the element but not able to see cursor inside and also not able to write anything inside. Below is the code I am using: $(document).ready(function () { $("input[type='text']:first", document.forms[0]).focus(); }); Can anyone help? Thanks
How to add the comma separated string value into array?
var stringValue = ["test","test1","test2"] ; How to add this comma separated string value into array?
Can't preview jQuery / Is my code wrong or is it just not previewing??
Hello, I am using jQuery in my html script in DreamWeaver. I think I coded it correctly, but whenever I preview whether it's in Firefox or in live view, I can't get it to work. What's supposed to happen is when I click an image with the class "menu_head," the rest of the navigation in the list classified as "menu_body" is supposed to appear. When I click, however, nothing happens. I don't know if I maybe sourced my javascript file wrong or what?? Here's my html code so far with the javascript. <html>
What am i doing wrong? (inArray, ...)
Hey guys! I'm pretty new to jQuery, but i try to write a little tag plugin. I have already got a piece of code, but somehow this doesn't work. $("#ranking tbody tr td").click(function(){ var tagToAdd = $(this).text(); var tags= []; if (jQuery.inArray(tagToAdd, tags)) === -1){ alert("New tag is added!"); tags.push(tagToAdd); }else{ alert("Sorry this tag already exists!"); } })So basically i want to add a tag to a filtering list.
getJSON problem
function build_PastDestinations() { var tablebody = "<tbody>"; $.getJSON("phpscripts/getpastdestinations.php",{},function(data) { $.each(data,function(key,val) { tablebody += "<tr><td>" + val.Address + "</td></tr>"; }); }); return tablebody; } Hi there I have this function that isn't working. as soon as it get to the getJSON bit it goes straight to return tablebody; can anyone shed any light? Ian
Please if someone can help me
Hy everyone, i'm newbie and i have a question about jquery. I have a wordpress site: http://shopmaniac.ro and i need to implement a 3D picture effect like this: http://keith-wood.name/imageCube.html into the featured slider section.If someone can tell me how to make that! Thank you in advice.
Auto submitting file
I've changed my 'file upload' input field into a hyperlink, which looks much better. I also added an auto submit, so that when the file is picked it gets automaticly submitted (normally you first select the file, and then have to hit the submit button). Everything works perfectly, except for the auto submit, which doesn't seem to function in Internet Explorer. How can I make this coding work in every browser? My coding: <style type="text/css"> #file { display:none; } .new_Btn { color:blue; cursor:pointer;
Tap and swipe function together
Hello, I am pretty new to jquery mobile and I have one issue that bothers me. On my homepage when I swipe up and down, some of the buttons get highlighted (even though they are not "clicked" or "tapped"). There is no problem with swiping, and there is no action except the highlight, but I would like to get the highlight only when someone actually taps the button, not swipe the page up / down. The homepage I am working on is here: http://www.sandbox.mytriorings.com/ and I am talking about category
jQuery retrieves the first part of the value only
I have a combobox with something like this <option class='comboclass' "Myvalue A">Myvalue A</option>. And when I use this code to retrieve the value, I get the first half of the value only. For example, I get Myvalue only not Myvalue A. $(td .comboclass option:selected).val());
auto close dialog in 2 sec
hi guys,... I have a dialog box popup for confirmation,... how can I auto close dialog in 2 sec,... what I have in here apparently not working,... still need to close with "x" this is my code: <script> $(function() { $("#confirm_dialog").dialog({ hide: { effect: 'fade', duration: 2000 } }); }); </script> thanks in advance, chris
jQuery for random intervals?
Can jQuery be used to?........ say I have a one page website with a video that plays automatically when browsed to. Can JQuery be used to change the URL that the video plays from? And at random intervals? Or set intervals like every 24 hours? I would like to have a different video play every 24 hours! :) Thanks for any insight! .... Bud MOBLEASY.COM
Including JS file in JS file without HTML or DOM for unit testing
I'm trying to write some simple tests on JS code that can be run from the command line to test code that has nothing to do with HTML, documents or user interface. To do this I need to include one file within another to pull the code being tested into the test script. What I've found involved HTML or DOM to do the job; for example, something like document.write( <script src="myFile.js" />) or some such. Is there a simple way to do this? I'm imaging something like include( "code2test.js"
Reveal/hide nested div in portfolio of images
Hi I've been trying to figure out how I can use jQuery to reveal a div which contains a title and semi transparent black background when I rollover one of the images on this test page - http://easynow.com.au/portfolio-j-query/ For each image I have the following html structure - <div class="holder"><div class="photo"><a href="http://acaibeads.com.au/" target="_blank"><img class="size-full wp-image-414 alignleft" title="Acai Beads | Melko group Melbourne" src="http://easynow.com.au/wp-content/uploads/2012/04/acai.jpg"
jQuery image effect
Hi, I'm building an image gallery and I'd like to add a special hover effect to my thumbnails. When I hover my mouse over a thumbnail I'd like to display an overlay on the thumbnail with a short text. How can I do that with jQuery? Thanks
function works in document.ready but not as a normal function
Goodmorning, i have made een function and it works on document.ready, but it doesnt work when i put it out of document.ready....:/ here is the code: //event openen var klikevent = function() { var imgid = $(this).find("img"); var id = $(this).attr("data-id"); var string = 'id='+ id; $.ajax({ type: "GET", url: "event.php", data: string, cache: false, success: function(data){ $("#content").html(data); } }); } this
Intellisense error is Visual Studio for jQuery
I keep getting this error: Warning 1 Error updating JScript IntelliSense: C:\Users\XPSM1530\Documents\Visual Studio 2008\Projects\jQueryTutorials\jquery-1.9.1.js: Object doesn't support this property or method @ 1318:1 C:\Users\XPSM1530\Documents\Visual Studio 2008\Projects\jQueryTutorials\gettingStarted.aspx 1 1 jQueryTutorials It pops up on a new asp.net webform page so there is no code it can really error on, so its has me really puzzled. The error means that my intellisense
problem with jquery
guys please help me....i have learned html and css and jquery recently...html and css are working well.....but jquery codes are not working at all i wrote the codes in the notepad and saved it with .js extension but not working.......please help i am in great trouble
No Idea how to get started with editable table tent project.
Aloha gang, I am going to try my best and hope you guys can help point me in the right direction. What I want to make is a table tent template that will allow other people via a webpage make the nessary changes to the rates and destinations that they want. Here is what the final product will look like: http://honoluluhostingcompany.net/homies/homies2.pdf So what I want is to be able to do is click on the individual pieces and make text changes to them. So for the access number I would click
How do i change link the link color from the default blue?
How do i change link the link color from the default blue?
invoice offline
Hi What is a simple and easy solution to make posible seling in shops and to get data from this application using web browser ? Software appilication is important to have: barcode san, print to tiket /Receipts-cash register online /Offline + cache manifest .Continue without any network connectivity. In my mind is a simple app like Excel or spredshett/forms. Idee is for onwer of the shop to see data from app and to have control of data sent to server ( info about customers,ID, copy of the tikets/product
Next Page