Any tool to add linenumbers in jquery
All, Is there any tool to add line numbers in jquery to a textarea. Thanks.. ...
All, Is there any tool to add line numbers in jquery to a textarea. Thanks.. ...
Is there any jquery Plugin:1.which can identify a programing language and highlight its syntax. ...
I have an application which use some javascript functions, As all javascripts include in Masterpage, most of them which comes withpage are not necessary, and some of those are repeated ( cause used in some different JS file. ) So I want to check if there is a way to determine duplicate functions and remove them ? ...
I have a large scale application which uses javascript for many reasons. these javascript files included in some JS files and JS files imported to Asp.net Masterpage files. this JS files contents (javascript functions) will add to page when page display to user, so a Bunch of waste Javascript functions will include in Asp.net pages. I'...
So I am grabbing RSS feeds via AJAX. After processing them, I have a html string that I want to manipulate using various jQuery functionality. In order to do this, I need a tree of DOM nodes. I can parse a HTML string into the jQuery() function. I can add it as innerHTML to some hidden node and use that. I have even tried using mozilla'...
Hi Guys, I am trying to use jQupload to upload an image asynchronously. The script uses an iframe off of the page to upload and then catches the .load() event of the iframe to return the JSON message that is returned. If I display the form at the bottom of a standard HTML page and include the javascript then it works fine. However, I w...
I have a problem with my form submission and here is the deal. I'm creating an image website and I want to create comments for every image so I have a anchor link which when clicked on shows the comments form, that is loads the html into the web page which wasn't inside at first place, so the form loaded inside the page is not submitting...
I have a javascript array (from a yahoo pipe via JSONP) in which I have a sub-array called 'moby'. I'd like to change the current structure: value { callback => blah, generator => blah, items { 0 { author => blah, category => blah, moby { day_no => 168, more => Keep_this_stuff }, 1 { ...
Hi all, i have a problem with jquery form plugin. I try to upload a file asynchronously but it does not submit the form. html markup and javascript code are like below <form id="fileUploadForm" method="post" action="Default.aspx" enctype="multipart/form-data"> <input type="text" name="filename" /> <input type="file" id="postedFile" nam...
I'm building a page where I want to use Galleria script (http://devkick.com/lab/galleria/) and jQuery's Accordion widget to hide away different categories of gallery's thumbnails. In my initialization I wrote as suggested by both scripts' manuals: <script type="text/javascript"> jQuery(function($) { $('ul.gallery').gall...
Again I'm asking question about comment form, I'm making an image website and every image has its own comment form, so when I submit form I do like this : $('#comment_form').live('submit', function() { ... So in order to select only this form textearea value I tried using this but I get undefined error here is how I tried : $('#comm...
Is it possible to hide name of *.php file in $(document).ready(function(){ $.getJSON("getdata.php", function(returned_data) { if(returned_data === "1") { $("div#wall").html('user has no subscription'); $("#message_wall").attr("disabled", "disabled"); return false; } }); }); Because that jquery code w...
Hi, I have what should be a simple requirement, however, I am keen to get an opinion on the best solution. Firstly, I am using CakePHP and JQuery on a LAMP dev server. The site uses a simple search form that submits data via GET to /search?term=xxx The search logic implements a number of time consuming calls to multiple third party A...
Hi, I'm using jQuery UI datepicker on my site and wish to have it styled slightly differently depending on the page it is on. However, I've got a little problem as the div containing the calendar isn't nested to the element which the .datepicker() function is applied to. So I cannot style it differently per page. Eg. <body> <div id="wr...
Hello all, I am having trouble checking checkboxes via JQuery - I have done this: if(element[1]==3) alert('#'+element[0]+'_1');//shows #chk_1 $('#'+element[0]+'_1').attr('checked', true); $('#'+element[0]+'_2').attr('checked', true); $('#'+element[0]+'_3').attr('checked', true); } I know it gets to that point because I can...
Is it possible to pass arguments to click or submit function like : $("#example").click(function() { var myVar = x; // refering to x as passed argument }); Maybe function inside a function ? function Func(){ $("#example").click(function() { var myVar = x; }); } Maybe something like calling Func()('33'); will this pass the 33...
Can anyone provide a clean example of how to use JQUERY's UI Modal dialog. Surprisingly it's not as simple as you would think. Goal: clicking an element loads a modal The modal appears showing "Loading..." And then makes an ajax call to get the contents of the modal The modal can be closed by clicking a close btn or by pressing escap...
I'm pretty new to javascript and jQuery. I'm using Uploadify to upload images to the server. There are multiple Uploader objects on the page. I need to pass the id of the Uploader object being used to the server. This is what I have so far: $('input.ImageUpload').uploadify({ ... 'scriptData': {'id': ??????}, ... }); How ca...
I've been trying to setup a very simple example using jQuery themes. I haven't been able to get it to work. I want to use the same themes to format some links and buttons so that they blend in when I bring dialogs and others. So far I have this very simple example which does not render correctly: <!DOCTYPE html> <html> <head> <...
This is what I have got. It displays just one single record. Can anyone please tell me how can I retrieve multiple records from the table. $.getJSON('getinfo.php', { id:id }, parseInfo); function parseInfo(data) { $('div#info').html(data.name +': '+ data.title); } The getinfo.php part is as follows: $id = (isset($_GET['id'])...