I have some datePickers
I've customized these so they show only month and year
This is the code to create them
jQuery("input[name*='fechauso']").each(function() {
jQuery(this).datepicker({
changeMonth: true,
changeYear: true,
showButtonPanel: true,
dateFormat: 'MM yy',
constrainInput: true,
...
I've done a lot of research on this but have come up empty handed. What I would like to do is invoke or create an event for the right arrow key (Key Code 39). I was planning on using an onclick event inside an tag to go to a function where this event could be 'fired'. Any help would be appreciated.
If anyone needs context, I have a jQu...
Hello, I'm working on a site right now that has a short picture slideshow for the homepage. I purchased a template and I am modifying it to work for this situation. On modification, the thumbnail row under the slideshow is now separated from the slideshow and the thumbs are not centered. I can't seem to understand how to get this to get ...
Hi all,
I am calling my database which contains a datetime datatype. The date looks like this:
2005-05-23 16:06:00.000
I would like to display this in a table when a user selects a certain item from a list. I call my controller action and return Json of all the times and put them in a table. The problem is the date is completely wrong...
Is there an AJAX autocomplete for jQuery that supports multiple columns? I mean multiple columns like a database table, not just splitting a list up. It would search off the first column, but the rest would be visible in the dropdown.
Does such a thing exist?
...
I am trying to open a window from a php script. But when I click I get this error
Line: 389
Error: 'surgExpressBuildDefaultButton' is null or not an object
Line 389 code is as follow
function setupLayout(i)
{
document.body.onselectstart = function()
{
if (event.srcElement.tagName.search(/input|textarea/i)) return false;
}
setup...
Hi
I got an array. I'm running over it
for (i = 0; i < sugestionsArray.length; i++) {
$('li.groupCode' + sugestionsArray[i] + ' span').addClass('checkedInput');
$('option[value=' + sugestionsArray[i] + ']').attr('selected', 'selected');
}
And this loop runs 3 times perfectly, adding classname and playi...
Hello, I'd like to find a fay to use Qtip in an iFrame on my page. I found a way to use QTIP on an iframe, but not with JQUERY LIVE....
qTip through an iFrame: http://craigsworks.com/projects/forums/thread-question-qtip-through-iframe
Any ideas on how to apply JQUERY Live to that?
My current code:
$('iframe').load(function(){
$(thi...
Say I do
var s = $('#something');
and next I want to test if jQuery found #something, i.e. I want to test if s is empty.
I could use my trusty isempty() on it:
function isempty(o) {
for ( var i in o )
return false;
return true;
}
Or since jQuery objects are arrays, I suppose I could test s.length.
But neither see...
I am using jQuery and my js file thats calling a jquery function resides in totally different directory than jQuery is in. I need to call this function reloadPage like this from js file
reloadPage({param1:'First Parameter', param2:ID});
but it gives me an error
Line: 341
Error: Object doesn't support this property or method
Line ...
I'm having a bit of trouble with John Resig's Micro templating.
Can anyone help me with why it isn't working?
This is the template
<script type="text/html" id="row_tmpl">
test content {%=id%} {%=name%}
</script>
And the modified section of the engine
str
.replace(/[\r\t\n]/g, " ")
.split("{%").join("\t")
.replace(...
so i have 4 divs (i actually have many more but this will simplify the question). i want to display them in two columns. the 4 divs vary in height. the number of actual divs in the end will vary.
so if i have this
<div id="1" style="height: 200px" class="inline">some content here</div>
<div id="2" style="height: 600px" class="inline">s...
a page with a bit of MVC code:
<%=Html.SubmitButton("ChooseWebinar.Submit", "Continue to Registration Details")%><br/>
that generates an input button where the '.' is embedded in the name:
<input id="ChooseWebinar_Submit" name="Webinar.Submit" type="submit" value="Continue" />
At page load this control (the submit button) is hidden...
hi, i need to add google's book preview button in my web app. I tried Google Book Search APIs, and used their dynamic links, and added the following in my jquery code:
var cburl = "http://books.google.com/books";
var api_url = cburl + "?jscmd=viewapi
document.write(unescape("%3Cscript src=" + api_url + " type='text/javascript'%3E%3C/s...
I'm somewhat new to jQuery, so I could use some help here.
This is my issue:
I have a php script outputting a dynamic table. Each row has an "edit" button, plus some other fields. Only 3 of those need to be turned into an input box. The edit button should only put that specific row into "edit mode." I got as far as assigning each r...
Page in question: http://phwsinc.com/our-work/one-rincon-hill.asp
In IE6-8, when you click the left-most thumbnail in the gallery, the image never loads. If you click the thumbnail a second time, then it will load. I'm using jQuery, and here's my code that's powering the gallery:
$(document).ready(function() {
// PROJECT PHOTO GALLERY
...
Hi,
I have a portfolio gallery with thumbnails along the left column and a large image on the right/center column. When the user clicks a thumbnail, this script loads in the large image and displays it in the place of the current image. Of course, there are some awesome animations happening. The script runs perfectly in IE 6 (go figure)...
jquery code
$(function(){
$('#switcher1').click(function(){
$(this).stop().animate({left:'35px'},800);
});
});
Hey everybody, this code slides #switcher1 at 35px to the right. I have question, how i can make that #switcher1 on one more click slides back to the original position ?
...
I am looking for an effective way to either clone/rename or re-create address fields to offer ability to submit multiple addresses on the same page. So with form example like this:
<div id="addresses">
<div class="address">
<input type="text" name="address[0].street">
<input type="text" name="address[0].city">
<input type=...
I would like to store a cookie object with multiple values associated with various keys. Does anyone know if this is possible?
...