Hello all,
I have a working dialog, and i want to change the content durring the flow of the app, I mean to change the .html() propery of the dialog...
I thought it was easy to do but i can't seem to do:
$dialog.dialog().html(SOME CONTENT);
How do i do that after i allready have the diqlog running?
My init code is:
var $dialog = $(...
Hi Everyone!
I'm trying to acquire a JSON which is being sent from an https secure site,
The client was hoping not to use any Server-side languages (the whole thing in Javascript)
I've read that I must use JSONP in order to load a JSON from a secure site, when using the .ajax function from Jquery.
My first question would be what for...
I have a form on one page, some of the form data is pulled from various tables in my mysql database -- the tables hold the options for different selects, so the following is the way my data will look after the php scripts are run:
<select name="vehicleStyle">
<option value="empty" selected="selected">- select -</option>
<option...
When we display our grid (jqGrid) in a jQuery modal dialog it uses different styles (font size specifically) versus the grid displayed on our main screen. Any ideas why?
...
Hi All
I'm trying to get the height of the error container when using 'jquery validate' plugin when submitting an erronous form, but I can't seem to get the height value of the error container when it appears. The alert box isn't even showing. What is the solution, please?
Here's the code:
$(".validate").validate({
rules: {
...
I would prefer to use .slideToggle and 3 lines of code but not sure how to get the script to 'refresh' itself after it's slid open and return to it's orginal state when it's slid back up (it doesn't slide back up when I use 3 lines and a .slideToggle). Sorry for the bad technical explanation.
$('#showHide').hide();
$('a#slickShow').cl...
Hello everyone and thanks in advance.
I have a problem and I have 2 form into one another, the domestic form is to perform a file upload.
As I can do to make when sending in internal form not run the main form.
<form name="x" method="post" action="xxx.php">
....
<form action="" method="post" enctype="multipart/form-data" t...
I have a webservice that returns for example a DateTime object: DepartureDate.
I use ajax to fetch this and in my view I convert the JSON date string to a javascript date object with this function:
function convertToDate(jsonDate) {
return eval("new " + jsonDate.substring(1, jsonDate.length - 1));
}
The problem is that new Date() ...
I have an anchor tag that calls a JavaScript function.
With or without JQuery how do I determine if the shift key is down while the link is clicked?
The following code does NOT work because keypress is only fired if a "real key" (not the shift key) is pressed. (I was hoping it would fire if just the shift key alone was pressed.)
var ...
I have a DYNAMICALLY generated Navigation div
<div id="WebPartWPQ9" >
<table class="xm-ptabarea">
<tbody>
<tr>
<td nowrap="" class="tab"><a href="/somelink.aspx">Overview</a></td>
<td nowrap="" class="tab"><a href="/anothersomelink.aspx">Financials</a></td>
<td nowrap="" class="tab"><a href="/somemorelink.aspx">Newsfee...
I have an input box that as you type displays a div called "suggestions" and compiles it with search results, each result is displayed between p tags.
You can select a result using the mouse but I would like to be able to select one using up and down keys.
I have got it so far that if you press down the suggestions box appears again (I...
I have an html page with a header, a table containing 100 items and a footer.
When there is a search, I highlight the row containing the data.
However, if the highlighted row is row 75, the user has to scroll down to find it.
How can I automatically scroll to that row?
I did see scrollTO() but see it only takes axis points.
Any ...
I want to start learning jQuery, but there's so much you can do with it. I'm interested in using PHP as well.
I understand that Visual Studio has intellisense for Javascript, but isn't that for ASP.NET? Can you build PHP applications in Visual Studio?
...
It looks like people have had issues with Accept headers in the past, but I'm not sure my issue is related. Using jQuery 1.4.2, I'm having trouble getting JSON with getJSON(). I can watch the request / response in Firebug and it looks like the source of the problem is that the resource in question returns different results depending on...
Hi,
After dragging the cloned image ,suppose i want to delete it , how to delete a cloned image from the dropping region? . I am doing clone,drag/drop and resizing the images by using below code .I know its not the right way,but i am new to jQuery. In addition i want to rotate the cloned image also.
$(document).ready(function() {
...
I need helping understanding the end to end flow in Rails.
I could use help with the following example.. Lets take Facebook.
When you're on Facebook.com, and click MESSAGES, the URL changes to (facebook.com/?sk=messages) and then AJAX is used to download the HTML/ JS content which is injected with JavaScript into the content pannel.....
when my ajaxupload script finishes it adds a read-only input w/ the value of the image's URL.
it is a long script, but i think this is the relevant part that fires on successful completion:
var location = '<div id="'+ID+'_location" class="img_location">' + '<input name="'+ID+'" class="location regular-text" type="text" size="50" read...
Jquery/programming newb here. I'm trying to dynamically assign a height to a ul to force some scrolling. My method is to detect how many items are in the list and then apply some math to calculate a height of my ul (I have tried height(); but it was not giving the right number; the ul is a grid of thumbnail images, displayed inline, show...
Hi,
Iam trying to pass data from my controller, and put it into the variable in JS script. I have done it before and it worked perfectly, thats why this one puzzles me even more.
Here is my code of the controller:
public ActionResult GetCategories()
{
var categories = categoryRepository.ListActiveCategories().ToLi...
Hi,
I have to search a value contained in a jQGrid and when found it, I have to delete the row.
How I can scan the rows of the grid?
Thanks.
...