jquery

Marquee plugin with a div

I am trying to use the marquee plugin with a div but i can't figure out how to do it. If you visit my testing page here you will see that although there are two slowly moving divs, one to the left, and one to the right, if you continue to wait, they gradually disappear off the page. I think that using the Marquee plugin, I can fix this...

Can I call the function Ready() again in jQuery

Hello All , I have this code $(".insert").click(function(){ $(".insert").ajaxStop(function(){ $(".load").hide(); }); $(".insert").ajaxStart(function(){ $(".load").show(); }); $.ajax({ type: "GET", url: "edit....

Invoke coldfusion function using AJAX

Hi I need to invoke a coldfusion function(present in a .cfm file) when the user clicks on a link. And I would like to do it using jQuery. I have a jQuery snippet which looks like- <script type="text/javascript"> $(document).ready(function(){ $("td.ViewLink a").click(function(event){ event.preventDefault(); )} I am ne...

How to get from an element all the data set using the data method ?

Hi all is said in the title, I want to get from an element all the data set using the data method. (ultimately I want to copy that data over to a newly created element) thanks for any help ! Olivier ...

Implementing search feature on jqgrid?

I tried so hard, I dont understand what is missing in my codes. ASP CODES: SEARCHFIELD = Request.QueryString("SEARCHFIELD") SEARCHSTRING = Request.QueryString("SEARCHSTRING") SEARCHOPER = Request.QueryString("SEARCHOPER") JSCODES: var lastsel; $(function() { $("#list").jqGrid({ url: 'orders.cs.asp?Process=ViewOrders',...

user-friendly time entry

In my project (based on php/mysql/jquery ) i need the user to enter time. But it seems very annoying to enter the time in strict formats like 06:00 PM or 14:00 So i want to give the user freedom to enter time in a very friendly way like 6 pm, 11am etc or 14 which will then be converted internally into a strict time format for further ...

Firefox shows waiting cursor and "loading.." even after post request is complete

I have a form to upload a file.The <html> is as follows: <div id="divModalPopup" class="ui-dialog-content" style="height: 139px; width: 268px;"> <form method="post" action="upload.php" target="uploadframe" enctype="multipart/form-data"> Please choose a file to upload [only zip with shape files and no folders]: <input type="fi...

Change and Keyup Event Handler in JQuery

Hi, I m using JQuery in my application .Also i am using Cakephp and Mysql. I m having a code like below in which instructions is a Textbox that when i type on it ,it will be shown in the Display panel ... $(".TextFieldSettings #instructions").keyup(function (){ instr=$(".TextFieldSettings #instructions").val(); $("#displayPanel ...

Script stack space exhausted firefox

i am working with a large XMl response from a webservice. when i try to get that using a url, after sometimes it displaya an error in Firebug that "script stack space quota is exhausted" how can i solve that???? ...

Select Element inside Form not working in JQuery

I have the following HTML form: <div id="main"> <form Id="search-form" action="/ViewRecord/AllRecord" method="post"> <div> <fieldset> <legend>Search</legend> <p> <label for="username">Staff name</label> <input id="username" name="username" type="text" value="" /> ...

Jquery tabs inside a table layout

The part I want to "tab" is inside a nested table layout. It starts after a table mess like this: <table> <tr> <td> <table> <tr> <td> <table> <tr> <td> <div id ="SearchModuleContainer"> <ul class="tabNavigation"> <li><a href="#PersonSearchPanel"></a></li> <li><a href="#TypeSearchPanel"></a></li> ...

Can we hide javascript loading from the user?

If I have a page which gets generated using PHP and then modified using JS which runs using: window.onload=myFunction; Then the user sees the original page, which then appears to flick around as the js code gets run and adds its own bits onto the page. Is there a way to avoid the user being able to see this process, or to at least ma...

Show username or login button depending on state

Working against jQuery 1.3.2 I'm looking for best practices that implement the typical 'You are logged in as:' or 'Click here to login' pattern. thx ...

jQuery datepicker dropdowns hidden when using chrome and blockUI

When I use the jQueryUI datepicker along with blockUI then the month and year dropdowns do not show when viewing the site in Chrome, they show fine in IE8 and FF3. Any ideas how to solve this issue? ...

Optimising jQuery loop

Is there a way of optimising a jQuery loop when dealing with a fairly large amount of data. The browser tends to lock while the data is being looped through, and anything below IE8 gives a 'script running too slow' message. I'm just using a jQuery.each(data, function(i, val) to get the field name and value for the field from the databa...

Select word from value

I have input <input type="hidden" value="Select Value 11121 DataValue " name="111" id="222"/> I select value with jQuery alert( $('#222').val() ); but how can I choose only "11121" from this input value with jQuery ? I can create a filter ? ...

ASP.Net MVC Toggling IsAjaxRequest property based on file upload?

I have a form all setup to upload a file and that is working fine. However the way my form is submitted is through AJAX. The button that submits is still a type="submit" in case JS is off. When I save my form the controller determines whether the IsAjaxRequest is true and if so returns some JSON otherwise it does a RedirectToAction. ...

an array of strings as a jQuery selector?

I have an array of strings that are valid jQuery selectors (i.e. IDs of elements on the page): ["#p1", "#p2", "#p3", "#p4", "#p5"] I want to select elements with those IDs into a jQuery array. This is probably elementary, but I can't find anything online. I could have a for-loop which creates a string "#p1,#p2,#p3,#p4,#p5" which coul...

How can I pass windows authentication to webservice using jQuery?

I'm using jQuery to call a .Net web service like this: var service_url = "https://mysite.com/myservice.asmx" $.ajax({ type: "GET", url: service_url, dataType: "xml", data: "ParamId=" + FormId.value, processData: false, error: function(XMLHttpRequest,...

Sending Multiple Items to MVC Controller via jQuery.Ajax

If youa are serializing a form using something like jQuery, it will often map the JSON keys and values to the properties of a object on the Controller Action you are posting to. So: jQuery: function PostForm() { $.ajax({ url: "/Home/TestMVC", type: "POST", dataType: "application/JSON", data: $('#for...