I'm fairly new to JQuery, having taken over this product, and I'm not sure the best questions to ask in troubleshooting this, so any help would be appreciated.
The situation: We have web pages that use JQuery, which run on correctly in our environment on IE6, IE7, and Firefox. They silently die as well, so any tips on how to gather use...
I'm creating a the first row of a table to display header text that will give meaning to a group of rows below it.
Upcoming Events
then looping thru the model to build a table listing of those upcoming events. But there may be client-side conditions that result in no rows being rendered which negates the need for the header row.
How c...
A fellow techie asked me today if jQuery (or JavaScript in general) could ping back to its source of origin and get information about the filesystem without the use of executable code. My knee jerk answer was that there would be no way that IIS would allow this to happen without the use of AJAX, ASP.NET or some other executable technolo...
I am confused about the best way to intertwine jquery/javascript with C#. I am supposed to put a javascript confirm popup into a file upload form. However the confirm only pops up if certain criteria is not met.
There are 4 elements on the form that are of importance.
clientId_txt - An input text field of client's ID
program_radi...
I have a simple setup, a div with a list of items and a second div to add those items to. The second div is sortable, and css is set to overflow: scroll. When arranging the items in the sortable div, it scrolls as expected. When adding a new item to the sortable, it does not scroll. I want the same scrolling behavior, no matter where...
I've got a simple jQuery sortable based on a list as follows:
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
<li>Item 4</li>
</ul>
I've created a helper function so that regardless of what the contents of an item may be, the helper is always the same fixed size.
My problem is that if I drag an item that has a lot of con...
Related Question:
http://stackoverflow.com/questions/1489402/manipulating-a-variable-containing-xml-with-jquery
I have a jsp which returns an xhtml document that looks something like this:
<root>
<p id = "myId">Text text text <img id = "myImgId" /></p>
</root>
Now, when I pull this data into a variable via an ajax call through jQu...
Hello!
What you can see on following page is a list of usernames in some random order. I want to use jquery to sort them in this order:
red
blue
green
purple
black
http://www.arvag.net/test/sorting/
This is what i did so far:
<script type="text/javascript">
$(function() {
var admin = "rgb(255, 0, 0)";
var moderator = "rgb...
I'm creating a lot of different tables (db-driven) across a number of different pages where I'd like to impose a consistent styling:
First and Last Row: bold font - reversed foreground/background
All other rows zebra striped.
Basically just implementing 'header/footer' rows and zebra striped data rows.
I've seen some jQuery examples an...
It seems simple but I did not find a way.
I open a window:
a. I need that while opening the window is minimized.
b. when finished loading, I need to be normalized and then focus on the parent window.
--Code
var openwindow = null;
$(function(){
openwindow = window.open("http://www.domine.com", "winx", "width=200,height=30,too...
How would I change the below to jquery? It works in IE but not Firefox so I am hoping if I change it to jquery it will work for both.
THIS
function subform() {
if (parent.option_view.document.vform_.dispatchEvent('onsubmit') != false) {
parent.option_view.document.vform_.submit();
}
}
AND THIS
img class="save_bttn" src="/images/...
I'm attempting to build a custom Image + Description rotator /w custom thumbnails using Jquery Cycle.
Something kind of like this example: http://www.malsup.com/jquery/cycle/pager2.html, but using DIV (instead of images) and custom thumbnails from an alternate directory.
From what I can understand this is how I'd build the sample above...
I have 3 sets of tabular data I want to display with a JavaScript framework in ASP.NET MVC. I know I can embed a separate grid in a tab, but this seems inefficient especially when large datasets are involved since I imagine 3 separate grids would be created. I haven't found a JavaScript datagrid which emulates what a spreadsheet does w...
I need help with posting a value to a php script from a js function called by an onclick event in an HTML page. Any help would be appreciated.
I have a link to the Google hosted jQuery library.
I am rendering a page with php with a submit button whose onclick action is seen below as updateSession() which posts a value to a php script t...
I Want to add Options to Select Box using jquery, but my options comes from MYSQL databse table
here is method what i want:
function add_inst(va) {
alert(va);
}
<select id="test">
</select>
I want to select values from MySQL table with match value of va, then add these result as options to select id="test".
For example if i pas...
Anyone seen or used a good script, jQuery or native, that lets you do PNG fix on hover?
...
I have this:
<span class="name"><span class="gost">Yahoo</span>, </span>
I tried something like this, but no luck:
$("span.name").html(
$(this).replace(/,/g, '')
);
...
I have what I think is a reasonably simple HTML format to display some financial information. For some reason, jQuery (and, indeed, Firebug!) don't seem to update the visual display of the parent divs. This is a lot easier to see if you look at this in a browser.
I'm using the Bluetrip CSS framework.
Here's the HTML:
<!DOCTYPE html PU...
i need help with a menu i'm adding on a jquery chat system called cometchat
i've been trying to add a facebook like applications menu and i got it to work with opening and closing and it closes clicking everywhere in the body and the bar but the place it should open and close. if someone can help please 'cause im not good at JS. :/
here...
i have jquery global error event set, like following:
$("#message_alert").ajaxError(function(event, XMLHttpRequest, settings, thrownError){
ajax_error(XMLHttpRequest);
});
and ajax_error method gets the XMLHttpRequest parameter totally fine init. now the request which XMLHttpRequest gets, it also have json data from the backend in...