2,530 Topics
| |
Hello, I am developing a web site with codeigniter 2.1.3 I am using an ajax call to post data to my controller, but for some reason the data is not being sent. I am using ajax calls all over the application and they all work well just not this one. … | |
Hello ! This code below should display me all the alert boxes but , unfortunetly it display only 3 ( without the alert inside the $.post function ) and i really don't see a problem in my code .. What is wrong? JS var uname = name.val(); alert( uname ); … | |
Hello everyone! I have a question .. i have a js file (script.js) and a php file (script.php) , in the php file i have a code that verify a user and in the script js i have this: var uname = name.val(); $.post('HERE IS THE QUESTION' , {names:uname} , … | |
Hello, I have this site. It loads slow on first access on the site. Once loaded, just hovering the navigation or scrolling with the mouse gives me slow motion. I hope you could help me find the problem. [Click Here](http://www.callumco.com) for the site. Hoping for your reply.. Thanks! | |
Hi am trying to create a card game. I have to show the cards using text, but i cant find the code to update text when the player change the cards. I used to try using "document.write" but as i learnt its not updateable. Any help? <!DOCTYPE html> <html> <head> … | |
Good morning. I've stumbled upon a little problem, if you could help me it'd be great. I've searched for Tooltips that support HTML content but most that I've found only support text passed by the html title attribute. The only one I've found that supports HTML code inside the tooltip … | |
Hi , I want to upload video in any format & video should be converted to flv. It will be played in any browser.My web application is in C# and ASP.NET. I can use jQuery & ajax. Please provide any sample code snippet ..& video conversion tool info. Thanks in … | |
Chaps, something that occurred to me today. If I have a div with `display:hidden;` and I want it to unhide it and animate it at the same time with `animate()`, how do I achieve that? I had a look at the jquery API and it says that `animate()` unlinke `slideDown()` … | |
Hello everyone ! Here a question :D I have this code function validateName(){ if ( name.val().length <= 4 ){ name.removeClass('valid'); nameInfo.removeClass('valid'); name.addClass('error'); nameInfo.addClass('error'); nameInfo.text (" You need to have more than 4 letters "); state = false; }else{ var uname = name.val(); $.post('validateuser.php' , {names:uname} , function(data){ if (data != … | |
Hey , I tried to send some data to different page and want to use it response ... But the problem i face is the code is working properly on my local host but when i put it over web it always gave me an error ... catalog_no=$('#srno').val(); //alert(catalog_no); query="select … | |
Hi, I'm having trouble figuring out how to prevent the default tab action when using jquery ui catcomplete. It works perfectly until I add the catcomplete widget code. I'm using the catcomplete widget code found on jquery ui.com: $.widget( "custom.catcomplete", $.ui.autocomplete, { _renderMenu: function( ul, items ) { var that … | |
I have written a script to get all elements then i go and find this element in another iframe. Wait, so essentially i have 2 frame's on a page, the one on the left i called the "online" and the 2nd one i called the "base". My end result is … | |
Hello, I dont know jquery. I am trying edit some code from web for autocomplete. Is it possible retrieve value afer submit from php page? What's way ? Or only with js ? Connection is ok, selecting too. Link to other page is created with paramaters. Thanks. -- test.php -- … | |
I'm using [filtrify plugin](http://luis-almeida.github.io/filtrify/) on my website and I needed a way to save filter settings when user reloads page or pareses browsers back for forward buttons. After searching for a while I found html local storage solution. I have somewhat implemented in in my website, but I can't get … | |
Hey all- No doubt, I'm going to be redirected to various threads, but I've looked & I still haven't been able to find the proper solution to my problem. Scenario: Fairly large site, most data is brought in via ajax... *Sometimes* the data brought back might include a dropdown menu … | |
I have a div full of links formatted to look basically like square buttons. Each link represents a given product brand. Currently they are anchor tags that link only to # but in the future they may need to link to webpages. When the user hovers on each link, I … | |
Chaps, I wonder if you can help me with this problem please. In a nutshell I am trying to remove/add round corners around a container on the fly. The reason is that I have a div with some content that slides down and when the content is visible I want … | |
I need to sort tables with dynamical content with rails. I could use the RailsCast tutorial ([http://railscasts.com/episodes/228-sortable-table-columns](http://railscasts.com/episodes/228-sortable-table-columns)) but as I'm not using any specific method in a controller, it doesn't seem appropriate solution. I found out about the jquery tablesorter, but it doesn't seem to work. Where the solution might … | |
Hello, I'm really new to HTML/jquery so having some issues with submitting a form to jQuery and showing the results in a div. What I want -> Text box: Fill in text Button: Submit text as POST data with longurl=<text>, and display the result in a div (#shorturl) I have … | |
Hi I am migrating code from javascript to jquery. What would be the equivalent jquery of the following javascript. document.getElementById("#elementname").getElementsByTagName('tagname'); Cheers. | |
Hi Im new to JQuery and sorry if this question sounds silly. my question is what is the difference between $.ajax and $.post and which is best if I am posting some form to a php and retriving some values on the same page as the form e.g. contact us … | |
Hi All, I'm new to this jquery and i found some article, implemented but its server side method is not firing. Plz if you know help out this probelm. These is the code implemented in my application in jquery side. [CODE]<script type="text/javascript" ></script> <script language="javascript"> $(document).ready(function() { $("#btnClick").click(function() { var … | |
The HTML: <!DOCTYPE HTML> <head> <link rel="stylesheet" type="text/css" href="/Users/Alireza/Desktop/Index.css" /> <script src="http://www.ajax.googleapis.com/ajax/libs/jqueryui/1.9.1/jquery-ui.min.js"></script> <script type="text/javascript" src="/Users/Alireza/Desktop/Index.js"></script> </head> <body> <div></div> </body> The CSS: div{ height: 100px; width: 100px; background-color: red; border: 4px dashed #00FF00; } The jQuery: $(document).ready(function(){ $('div').click(function(){ $('div').effect('explode'); }) }) Please help me. I really don't know why it isn't … | |
Hi There, I have written a very simple notice board page, for displaying information to the team where I work. I want to have an admin.html page where I can enter details in fields and select from drop downs, then hit submit and it populates a page called "notice.html" is … | |
Hello I am trying to parse a .json file.. it only has 1 set of data I don't think the $.each is the best approach but it's all I can find.... Here is my code: <script type="text/javascript"> function getQueryVariable(variable) { var query = window.location.search.substring(1); var vars = query.split("&"); for (var … | |
Hi, I have this bit of php returning the response, just for testing : header('Content-type: application/json'); $response = array(); $response["status"] = "ok"; echo json_encode( $response ); 1) Is this a wrong way to send a json encoded string back via jquery ajax? 2) I get NOTHING, No response from this … | |
I tried lots of Poll scripts but one of was good one. I need Poll script with Jquery, AJAX and Admin so that I will intergrate my website. | |
i'm trying to append a bool variable zoom. zoom is set to true once the btnview is clicked. i did something but it's not working. can someone put me on the right path here. <a id="btnview" class="btnview" data-href="<%=HttpContext.Current.Request.QueryString.Add("zoom",true) %>" style="margin:60px 0 0 0;">zoom</a> some how it is not setting the … | |
hi i want to create realestate search form. but i don't know how to do it . please help me. for example visit below site [Click Here](http://www.lankaland.lk/) | |
Dear friends, I am interested in creating a tree structure like the image attacched using jquery and json data. datasets: [{'name':'xxx', position:'left','parent': 0}, {'name':'yyy', position:'left','parent': 1}, {'name':'yyy', position:'middle','parent': 1}, {'name':'yyy', position:'right','parent': 1}, {'name':'yyy', position:'left','parent': 2}, {'name':'yyy', position:'right','parent': 2}, {'name':'yyy', position:'left','parent': 3}] Where, name - specifies name of the node parent … |
The End.