dragging first table single rows to second table any one cell
hi, Im doing drag and drop between table row and cell.In Internet explorer (ie 8,10) no problem on firefox.Im getting scroll bars due my droppable table size is big.if i try to drag rows the problem is dragged row content away from mosue pointer. Clearly dragged content away from mouse pointer(cursor). i think horizontal scroll bar position size is applying between mouse pointer (cursor) and content. Please view the attachment image. How to rectify this and any solution available for this scenario.?
How to make an online skin editor, graphic editior for a game
Hello, I've been learning jQuery for some time now, however i'm still more of a newbie, than a pro. I want to make some cool feature for website i'm bulding, similar to this one (i mean working on the same rules as this one): http://minecraft.novaskin.me - it's a online skin editor for a game. I see that they used a jQuery to make this. Probably also PHP and Ajax (i know both of these technologies at the level to make standard, basics things). I just wondering how to make stuff like this? How to
Converting my GET to jQuery style
Greetings All ! I'm just getting started using jQuery, having had a brief class on it last week. The class focused mostly on the broad variety of things you can do with jQuery, so Ajax was only part of that and didn't get a whole lot of time and attention. I am trying to take some Javascript I wrote a few weeks back.... complete with the old "createXMLHttp" routine and then a lengthy function with xhr.onreadystatechange .... and convert that over to jQuery. The GET string I'm wanting to send has
Make jquery single page show webpages inline
When I click the menu tabs i want the page to come in vertically. can any one help with this? http://clarissagriffin.com/bowling
Need something between a header and a list divider - please advise
Hi :) I have a page that contains a header and a footer navbar. I need to add a highlighted row with text in the center and two buttons to the left and right of the text. What would you recommend for this structure? I'm currently using a ul li list-divider but it's not working very well, especially after upgrading JQM to 1.4.1. thanks!
Jquery multi criteria selector
I need to write a query that selects any <tr> that has <td class="one"></td> and a <td class="two"></td> Please point me in the right direction. Thanks
Time counter
im doing an online expieriment, where u click on a button to start, you pick a color and puts in your information, and sends the info. in this , i need a timer, that starts when you press the button i made, and starts counting, that count is then able to get send with the form. in other words, i need a way to count how long it takes for a person to press start and then send the form, and ofcourse i need the time to be send with the form to the server anything helps!
Making My Code for Slider automatically show images without previous next buttons
Here Below is the code: <script> $(document).ready( function($){ var slider = $('.slider').find('ul'); var transition = 2500; $( slider ).find('li.active').show(); window.slider = { previous: function(){ var current = $( slider ).find( 'li.active' ); var prevElement = $( current ).prev('li'); if( prevElement.length != 0 ){ $( current ).removeClass('active').fadeOut( transition ); $( prevElement ).addClass('active').fadeIn( transition ); } }, next: function(){ var current = $( slider ).find( 'li.active'
Chained Ajax Calls
OK i'm as noobie to all of this as a 3 year, but this is what i have so far... I successfully build a 1st page where i made 3 divs to receive ajaxs calls. i have the correct code to load the combobox that is getting the data from my db and put it into the 1st div that data is another combobox that gets the data from the ajax call... this is working right so far The problem : I need the 3rd combobox to make another call to get the final data and put it on the last div, but i cant get this to work....
Jqueyr upload inside a form
Hi Jake; I have been looking for a solution for sometime but no luck. I have a form that submits data and INSERTs INTO the database. Somewhere in the middle of this form there is another form that uploads photo with Ajax like this: Ajax File Upload. It is not legal to have nested forms. I end up with something like this: <form action = "/insert" method = "post"> <input type = "text" name = "name"> <form action = "upload_photo/" method = "post" multipart> <input type = "FILES" name
help::jquery validator error message
how can i display the error messages onto onblur Event(jquery validator) pls. help....
Json : My code is not working
Dear All I always fail using this JSON My JQUERY <script language="javascript"> $(document).ready(function($) { $("#loginid").blur(function() { if($.trim($("#loginid").val()) =='' ) { $("#loginid").val(''); alert("login id cannot be blank"); } else { var lid=$.trim($("#loginid").val()); if(lid.indexOf('@') === -1) // check whether the email id has @ sign ==> works fine { alert("Enter email ID only"); } else { var lid=$("#loginid").val();
How to resolve this css bug in Mac / Chrome & Safari
bug Found in Mac / Chrome & Safari Bug: Highlighting of text is aligned top in all fields. It should be aligned bottom. please refer my attachment My jsfiddle: http://jsfiddle.net/6q66R/4/
can you see what is wrong with this code
can you see what is wrong with this code ? I have a form with 2 input text boxes and 2 submit buttons, when the user clicks the second button , it should list all the months starting with letter "J", <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>submit demo</title> <style> p { margin: 0; color: blue; } div,p { margin-left: 10px; } span { color: red; } </style> <script src="//code.jquery.com/jquery-1.10.2.js"></script> </head> <body> <p>Type 'correct' to validate.</p> <form
HTML rows not being created
Does anyone see why the rows aren't being created in the else statement? When the list name changes a new table is created and the first row is added properly but when it is looping through the items in the list the additional rows are not being created. FYI, I did debug this and it is going into the else statement and looping through the items but nothing gets rendered to the page. Code sample below....... if(listName!=newListName) { newListName = listName; liHtml = listName + "<br><table><tr><td>File
How to read jquery nodes dynamically at run time
How to read jquery nodes dynamically at run time how to read a json file from jquery using $.get method when the nodes are only known at run time suppose the user browseing the link www.abc.com?operation='insert' www.abc.com?operation='delete' ex json file {"insert":"You have insert link ","delete":" you are on delete link "} I wants to load the respective message i read the url succss full using jquery but how to handle json $(document).ready(function () { $.getJSON('/persistent/Json/homepage.json',
.val(variable) Not setting a value
Hi there, I'm fighting with this piece of code. I get result back from a PHP call and data does infact get populated. Alerting out setName show the correct value, but the next line (7) doesn't work. Any ideas? function(data) { var images = data; var setName = images['set'][0].name; alert(setName); $('set-name').val(setName); });
Map isn't showing with JQuery Mobile
I'm building an app with JQuery Mobile that will be submitted to Phone Gap. Right now everything works but the map doesn't show up. You can see the working example here: http://phoenix.sheridanc.on.ca/~bdes1612/DS_P2/swipe_test8.html Swipe the lefthand side and click dinning. The selectors are there but no map. and it works outside of query mobile: http://phoenix.sheridanc.on.ca/~bdes1612/DS_P2/plgeotestcolour2.html I'm really new at this and part of my problem is I'm not sure where to put certain
first try with buttons
i have a simple code , where a user can check if a button has redcolor by clicking on one of the buttons, but for some reason the code wont run. <html> <head> <script type="text/javascript"> //<![CDATA[ try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:0,byc:0,owlid:"cf",bag2:1,mirage2:{profile:false},oracle:0,paths:{cloudflare:"/cdn-cgi/nexp/dok8v=02fcfa4f56/"},atok:"44278e6492cdf14e3f8920715f3f1b2c",petok:"816ebc377b160c3227ae70531c1d55ae7b8484a3-1394234930-86400",zone:"mkyong.com",rocket:"0",apps:0}];var
click in .html
Hi, i'm trying to replace text after click. First time it's ok, but then i want to replace again, and then it doesnt work. <span class="replace"><button>Click here</button></span> $('.replace').html("<span class='change'><button>Change</button></span>"); Now it doesnt respond to: $('.change').html("Replaced again"); What can i do?
slider
I'm trying to create a slider that automatically changes images or if you click on a number button then it changes to that slide, the slider also needs to be able to slide automatically on a touch device but if you touch the slider it stops and you can the swipe left or right for the image. I have tried various plugins but none of them seemed to do what I would like
How to manage post on multi pages using blogger
I want to know about How I can manage my blogger post on the pages as well using labeling in blogger post. Can anyone send me a full script and where I add it in my blog
How to create dynamic JavaScript files using PHP
I am thinking about how some online services create dynamic JavaScript files. These files have the .js extension, but their content is not static. Please tell me how to create dynamic JavaScript files using PHP.
jQuery ajax (POST) request and circumventing 'Same-origin policy'.
Hello! I am relatively new to jquery and have a very basic understanding of javascript after having recently begun using codecademy to start learning. I have a good understanding of HTML/CSS and a little PHP, and many moons ago studied Pascal in college which I was quite good at, but would now like to venture further into the coding world. I have been set the below challenge but after having researched possible solutions for the best part of today, I am reaching out for some guidence because I am
Slide Show
Hi I want to create a slide show on my intranet page. All pictures from the specific folder should be shown in the slideshow. The folder can hold from 1 to any number of pictures The folder name will be provided from the code behind (ASP.NET, VB) The size of displayed pictures should be limited by height and the width should adjust by itself. I am very new to JQ. Please let me know how it can be done. Thanks,
using State dropdown list to load City dropdown list using ajax and php
(i) I would like to know if the sending of JSON from ajax to php is correct and (ii) if the sending of JSON from php to ajax is correct (iii) and if the DOM manipulation used to load the city dropdown list at ajax is right. <SCRIPT> $(Document).ready(function(){ $("#STATECBO").click ( function(){ var COUNTRYCOD = 1; $STATECOD = STATECBO.val(); POSTEDDATA = { "COUNTRYCOD" : COUNTRYCOD ,
can't hide <p> tag
Hi guys, I've just started with jQuery and I'm having trouble with the basics. I've got this simple code: <!doctype html> <html> <head> <meta charset="utf-8" /> <title>Demo</title> <script src="jquery-1.11.0"></script> <script> $(document).ready(function(){ $("p").hide(); }); </script> </head> <body> <a href="http://jquery.com/">jQuery</a> <button>button</button> <p>p tag</p>
COMPLETLY new PLEASE HELP
hi there, i have a question in order to use jquery on dreamwever do i need to install it ? onto dreamwever? how does this work?
Image didn't showing in IE8
Image haven't showing in IE8. how to resolve this in IE8? Its working fine in all browsers except ie8.Its showing a broken image. My jsfiddle: http://jsfiddle.net/A6m4G/1/
Jquery Debugging issues with
I have this jquery script/plugin and what it does it two things. It allows scrolling to the link on the page, instead of jumping there, and it opens and closes (toggles) a slider box from the top to reveal some more html. <script> var $root = $('html, body'); $('a').click(function() { var href = $(this).attr('href'); $root.animate({ scrollTop: $(href).offset().top }, 500, function () { window.location.hash = href; }); return false; }); // yeah let's do vanilla JS just for fun :P var toggle = document.getElementsByClassName('toggle');
Problem using drag and drop
Hello, I`m having a problem with my drag and drop code. Demo: http://skytz.jifox.nl/cms_login/ Accountnaam: admin Wachtwoord: Admin (The website language is dutch) If you start draging the blocks to a new position it will lose the option bar above. Jquery code i`m using $(function() { $(".column").sortable({ scrollSensitivity: 5, cursor: 'move', connectWith: '.column', start: function(event, ui){ // Get value var text = $.trim(ui.item.text());
JQuery Video Trigger Problem
Hello All you Smiling Faces (and computer nerds in dark closets), This is my first post on the forum as I am very new to JQuery. I'm attempting to use it to trigger a video to play and after it finishes, remove the video and direct a user to a specific website. The code more-or-less works but the duration of the video is random, sometimes it plays all the way, others it goes directly to the website, or sometimes the video starts playing without clicking a flag. If someone could help me out, that
How to track when a certain spot on a page has been scrolled to?
I'm trying to track how many people has scrolled to a certain spot on the page. I have managed to calculate how many clicks my navigation has but not when a user has scrolled through the page. So for example: If i scroll down to heading a then a 1 will appear in the console and it will stay like that and if I scroll down to heading b then a 1 will appear for heading b and heading a will stay as 1, but if I scroll up to heading a then a 2 will appear and heading b stays 1 My HTML <div class="nav-wrapper">
AJAX COUNTRY, STATE, CITY DROPDOWNLIST IS THE USE OF JSON CORRECT
CAN YOU TELL ME IF THIS IS CORRECT ?> <SCRIPT> $(Document).ready(function(){ var COUNTRYCOD = 0; $.ajax({ type : "POST", url : "GETCOUNTRIES.PHP", success : function(){ var CBOCONTROL = $("#COUNTRYCBO"); CBOCONTROL.empty(); for ( X = 0; X < COUNTRY.length;x++){ CBOCONTROL.append("<OPTION VALUE=" + COUNTRY[X].COUNTRYCOD + ">" + COUNTRY[X].COUNTRYNAM + "</OPTION>"); }; }; }); }); $("#COUNTRYCBO").click
Rules don´t work
Hi, I hope you guys can help me, cause I just started using the form validation for the first time. The validation works when I write the rules within the tags of a form element, e.g.: <input required id="text" type="text" >But it doesn´t work, when I define the rules within the <script>-tag. Where´s the problem? Is there anything faulty in the code? <?php echo ' <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
I there any Plugin available in jQuery to customize the page like email mail chimp email template editor
I there any Plugin available in jQuery to customize the page like email mail chimp email template editor I wish to show the edit delete option when only hover. the settings block display arround thr border
Replace using text() to search, and html() as returned
Hello, What I would like to achieve is to search through the text of elements and replace it with html using .replace and regex while preserving the html structure (including descendant elements). I fully understand that regex can't be used on html tags, so the only way to not have the input contaminated is to use the .text() property of the element. The side affect of this is that I can't .replace() with html in the replacement string as it is shown as plain text (obviously). This is similar to
debugin website
Digite um texto ou endereço de um site ou traduza um documento. Cancelar My site're in error in Firefox / Chrome Logo and gets the out of position, can someone tell me how to put him in position? reminding q in internet explorer that's okay, if they see errors on the site let me know ... http://www.agenciadreamup.com/ I await responses ... thanks!
jQuery Hover Drop-Down-Menu Full Width Size
I have a vertical menu in my Website. Now i need a dropdown system in some links. I've see this example on the internet: http://jsfiddle.net/4jxph/3018/ But i want a full width submenu. The Dropdown System of Sony is what I want. Dropdown system by Sony: Sony I've always craetet a full width size dropdown menu. My Code: http://jsfiddle.net/3aK9k/4/. So what i want, when i hover the content so the submenu and again to the menu link which slidedown the submenu than the submenu should be still there
Changing the title on a page
Hello How may I access and change the title in the head statement of an HTML page using jQuery please. e.g. $("head").???("title","Something new") Regards
Next Page