Hi,
I am using jquery fullcalendar on one of my view pages for an MVC project to show events.
But it doesn't show the events
here is my code:
public class HighlightMonthlyEvents
{
public int id { get; set; }
public string EventName { get; set; }
public long EventStartDate { get; set; }
public long E...
I'm using a jquery plugin that seems to need the color in "000000" format but when I do this:
currentcolor = $("#" + dividediting).css("background-color");
I get the output as:
rgb(0,0,0)
I'm wondering if there is a way to change the way it outputs or if I have to use regex to parse the result to get it to the needed format.. thank...
It seems jQuery.browser is able to identify webkit rather easily as of 1.4. But how can I use it to distinguish Chrome from Safari (and visa-versa)?
...
<form method="post" action="load_statements.php?action=load" id="loadForm"
enctype="multipart/form-data">
that is my form, which looks fine to me. in that form, i put this button:
<input type="button" name="submit" id="submit" value="Submit" onclick="confirmSubmit()" class="smallGreenButton" />
here is th...
I'm interested in hearing opinions on how to efficiently organise JavaScript (and jQuery) in a largish web application project that could potentially see high traffic.
Things that concern me are:
Being efficient on the server
Being efficient on the browser
Keeping the codebase manageable
Lets assume that all authored JavaScript is k...
I have the following code working fine in IE8 (and IE8 in IE7 compatibility mode) but not generating the right results in IE7
var areaId = "eventArea" + index;
var tempArea = $("<AREA id='" + areaId + "' shape='rect' coords='" + value.x + "," + value.y + "," + (parseInt(value.x) + parseInt(value.w)) + "," + (parseInt(value.y) + parseInt...
I am working in Symfony 1.0 launching a Thickbox modal window that contains a form, which is being validated on the fly using LiveValidation.
The modal window launches fine, however the LiveValidation plugin is getting an error, saying that "ReferenceError: Can't find variable: LiveValidation" and then referencing various variables I am ...
Hello,
I discovered nyroModal extension to JQuery. This seems pretty cool to make a photo gallery with nice effect.
I have the following code... it works when I open it from the file explorer (Finder on Mac), but when I put it on my web server... it does not work anymore. Instead of the cool gallery, the photo on which I click is only d...
I'm building a jQuery navigation and i cant seem to figure out how to make the navigation stay in the roll over state on the active page.
HTML...
<body>
<form id="form1" runat="server">
<div>
<div id="pageWrap">
<div id="pageBody">
<a class="hoverBtn" href="#"></a>
<a class="hoverBtn1" href="#"></a>
...
I need to get the name of each input field within a row, and change it. I am having difficulty in finding the proper syntax to reference the name field. For example:
<tr id="row_0" class="dataRow">
<input type="text" class="tabcell" name="_0-3" size="6" value=7.0 />
<input type="text" class="tabcell" name="_0-7" size="6" value...
Hi,
I'm using the ASP.NET MVC Framework, jQuery and Ajax calls to do some Partial view rendering based on client input, my issue is that some of the scripts requires by the partial view rely on the ready event, raised by jQuery.
The scripts, both external, and on in the view are being loaded without issue, but as the page is already lo...
The title says it all, how do I use some dom as a template, so something like
<div>
<span> v1 </span>
<span> v2 </span>
<span> v3 </span>
</div>
and then programmatically replace v1-v3 with some values (that i get off an xhr repsonse)
thanx
...
I have a table that contains multiple checkboxes in each row. I need to get the value of each individual checkbox. I've been able to do something like the following to retrieve the value of a checkbox in the first column of a table...
$('#myTable tbody tr td:first-child input:checkbox').each(function() {
if (this.checked) {
...
I am playing with extending jQuery with a function that has two params: a callback function and a timeout. I'm on pre 1.4 so I don't have the .delay() built-in, but even that isn't really what I want.
I've started out with the below, but am unclear as to
1 why is the callback function undefined inside the setTimeout, and
2 how should ...
I want to load a local .txt file and work with the content in javascript.
My local file is like C:\Users\Who\Desktop\file.txt
Thanks
...
Does $(selector).attr(name) guarantee that the result is lowercase if the attribute is found?
...
I've got 4 buttons using Jquery UI's "button" feature. 3 work flawlessly. the 4th does not seem to want to always apply the jquery ui hover class "ui-state-hover" when it is hovered. it does some of the time, but most of the time it only applies a "hover" class (i'm watching it in firebug) and that obviously doesn't match up w/ their ...
Hello all,
I need a script, preferably jquery, to do the follwoing:
I HAVE FOUR LITTLE SQUARES (i.e. div tags) each a different color nested together to make ONE LARGE SQAURE.
WHEN I HOVER OVER ONE SMALL SQUARE, IT ENLARGES AND COVERS THE ENTIRE NEST. When I move away the mouse, the enlarged sqaure will go back to its original size i...
I’m having a problem trying to detect if a table exists using jQuery. The table has no class or ID.
What I’m trying to achieve is to not have the following code fire unless a table exists:
function tableAltRows()
{
$("#content table tr:even").each(function(){
$(this).addClass("alt");
});
}
$(tableAl...
I have a shared infoWindow for all my markers. It works good if I use jquery's $().each(function(){}), but if I change it to JavaScrips's native for or while loop, it's not working as expected.
Whenever I click a marker, it will open the last populated marker's infoWindow, instead of the clicked marker's infoWindow.
This works:
$(sto...