The following works in Firefox but in no other browser. Is the parent child relationship of <dl>s different in the different browsers?
$('dd').parent().find('h3').toggle(
function(){
$(this).next('dd').slideDown(500);
},
function(){
$(this).next('dd').slideUp(500);
}
);
HTML looks like:
<dt><h3>stuff t...
Hello,
Does anybody knows how I can customize the title in basicWeek and basicMonth view? At the moment the block starts with time and then the title. I want to show the time from and time to in the title of every event, like in agendaView.
It is possible to format the content of the title with and Tags?
Greetings
Alexander
...
Hi folks,
I recently needed to append some data to dynamically created LI elements. In my first instance, I used .data() in a way like
var _newli = $('<li>foobar</li>');
_newli.data('base', 'ball');
// append _newli to an `ul`
that.. was terribly slow. This logic happens in a loop which can easily grow up to 500+ items, it took ages!...
Hi,
someone kindly posted the following solution to consuming web services from this question at this link:
http://stackoverflow.com/questions/230401/how-to-use-jquery-to-call-an-asp-net-web-service/3407545#3407545
function InfoByDate(sDate, eDate){
var divToBeWorkedOn = '#AjaxPlaceHolder';
var webMethod = 'http://MyWebService/Web.asm...
Is there a way to show captions for images permanently on page load, not only when I move mouse cursor over the image?
...
I have a table that has checkboxes within tds. The checkboxes have ids that form an array (s[1], s[2], s[3], s[4], etc...) and I am trying to find out the numeric row location of the checkbox within the table>tbody (YES, this row location also matches the index inside the array. Here's the code I'm trying but the result is always "0":
...
How do I display a random set of list
items, I think I have this down.
Thanks!
//Count the number of li's in the object
var listCount = $("li.contentBlock", obj).length;
//Generate a random number from the count of li's
var randomListNumber = Math.floor(Math.random() * listCount -1);
//Gener...
Hi ,
I have a textbox over accordion header , now if i type space into the textbox my accordion get collapsed if it is open. so prevent that i have written following code
$(".edit").click(function(event) {
// if default text is present then select the whole content
if ($(this).attr('default') == $(this).val())
this.selec...
I have a html page as below:
<div id="test1">
<table>
<tr>
<td><span id="234">ABKO</span></td>
</tr>
<tr>
<td><span id="1234">ABKO2</span></td>
</tr>
<tr>
<td><span id="2634">ABKO3</span></td>
</tr>
</table>
</div>
<div id="test2">
<tab...
I am using a rescue derived from MvcContrib:
public class RescueAttribute : MvcContrib.Filters.RescueAttribute
{
public RescueAttribute(string view) : base(view)
{
IgnoreAjax = false;
}
public RescueAttribute(string view, params Type[] exceptionTypes) : base(view, exceptionTypes)
{
IgnoreAjax = false...
I have a new MVC 2 site that has been working fine on my local box but has a path issue when published to an IIS 7.5 server. The site pulls up fine, navigation links such as
<ul id="menu">
<li><%: Html.ActionLink("Home", "Index", "Home")%></li>
<li><%: Html.ActionLink("Search", "Index", "Search")%></li>
...
Hello,
maybe I'm totally missing something about even handling in jQuery, but here's my problem.
Let's assume there are some event binding, like
$(element).bind("mousemove", somefunc);
Now, I'd like to introduce a new mousemove binding that doesn't override the previous one, but temporarily exclude (unbind) it. In other words, when I...
I want to have datepicker in search text fields and eventually also in edit fields of jqgrid on a Ruby on Rails application.
Is there any way ?
Has any one used such combination ? Datepicker with jqGrid ?
...
Hello,
This is probably something quite easy to resolve, but for some reason, I can't figure it out.
I have the following HTML:
<li onclick="function_1();">
<input type="checkbox" onclick="function_2();">
<div onclick="function_3();">
</li>
My issue is: Whenever I click one of the child elements (either the checkbox or div), it ...
Hi there, I've been trying to figure out how to add the attribute "checked" to a checkbox on click. The reason I want to do this is so if I check off a checkbox; I can have my local storage save that as the html so when the page refreshes it notices the checkbox is checked. As of right now if I check it off, it fades the parent, but if I...
I have a development server and a production server to host my website. I am seeing differences in how the html is rendered on these servers but only in Internet Explorer.
I am rendering a list of tags. Here is the markup.
<div class="tag">
<ul>
<li><a href="#">tag1</a></li>
<li><a href="#">tag2</a></li>
<li...
A unix timestamp should only be ten characters, however I keep getting 13 characters and it's causing me issues. How can I fix this?
<script type="text/javascript">
$(document).ready(function()
{
$("#startdate").datepicker({ altField: "#startdatehidden", altFormat:$.datepicker.TIMESTAMP, dateFormat:$.datepicker.TIMESTAMP, mandatory:...
Hi ! I am using the onepixelout player and I would like to use JQuery to start playing a song. My final intention is to have an image that will start the player.
Thanks
...
So I have a few inputs with the name session and they increment.... session0 session1 session2.
If I want to run them through a loop how would I do that. I'm using jquery.
for example..
for(i=0,i<10,i++)
{
var num = (session + i).value + i;
}
So what I want is the loop to go through all the inputs with prefix session and output their...
I am using jQuery to animate some DOM elements, but I want the page to reload when the animations are complete, so I tried this:
function childDisablePopup()
{
$("#popup2",window.parent.document).animate({
width: "0px",
marginLeft: 0
}, "fast",
function()
{
$("#popup2",window.parent.document).anim...