Absolute newbie question, any help is highly appreciated :)
I am using curvycorners (http://www.curvycorners.net/) in combination with the jQuery validation plugin (http://bassistance.de/jquery-plugins/jquery-plugin-validation/), and I'm having problems getting the div to redraw the rounded corners when I do like this:
$("input[type='s...
i have this code: link text
i want my UL and LI to have level (for now i guess only second level but who knows)
and to be able to sort parent with all siblings and childs between their siblings
...
Can someone tell me how to install this? I go here: http://api.jquery.com/browser/ and click the INSTALL NOW button. After that it says "Download and open the AIR file to begin the Installation". I have AIR installed but can't figure out where the file is for the API Browser.
I'm definitely missing something obvious...
...
I'm usung the jQuery datepicker. In my "EndDate" textbox I'd like to use the date selected from the the "StartDate" textbox + 1. How do I do this?
I tried this but didn't work. In my start date code I had...
test = $(this).datepicker('getDate');
testm = new Date(test.getTime());
testm.setDate(testm.g...
Hello, I was looking at the pagination script (posted below) and found it to be gros,s and not very good at all especially when trying to customize it.
This is what the main page looks like:
<?php
include('config.php');
$per_page = 9;
//Calculating no of pages
$sql = "select * from messages";
$result = mysql_query($sql);
$count = mysq...
Is there a (simple) way to return the amount of elements colliding with a single element? Perhaps with jQuery?
...
Ok I have this problem I'm trying to use Jquery to load a partial in replace of a listed object.
index.html.erb
<div class="style_image_<%= style.id %>" > <%=link_to image_tag(style.cover.pic.url(:small)), style %></div>
loadshow:
$(function() {
$(".style_image_<%= style.id %> a").click(function() {
$(".style_image_<%= style...
$(".box :text").tooltip({
//do stuff
}
now it works well for selecting :text areas under box classes however I also want to include :password areas aswell. How can I combine selectors without writing 2 seperate selectors and execute 2 different methods?
...
How to check if an html element [textbox, select, radiobutton etc] is in a form via Jquery?
...
Is it possible to use the new client side validation features of asp.net MVC 2 without having to use the MS scripts (MicrosoftAjax.js, MicrosoftMvcAjax.js, MicrosoftMvcValidation.js)?
I use JQuery throughout my application; JQuery has a great plugin for validation and I don't really want to force my users to load MS scripts just for v...
Is it possible to handle such events as:
"ctrl" + mouse left button click;
"shift" + mouse left button click;
"alt" + mouse left button click
by using JavaScript/jquery(or other framework).
If it is possible, please give a code example for it.
...
Hi all - I have a UL that contain any number of LIs. I am trying to create some jQuery code that will parse the original UL and wrap a UL and another LI after every 5 of the original LIs.
Starting HTML:
<ul id="original_ul">
<li class="original_li">..</li>
<li>..</li>
<li>..</li>
<li>..</li>
<li>..</li>
<li>..</...
I have few nested DIVs at page. I want to add event only for smalest DIV which size is more than 100x100 px.
I am able to do it using conditions in code.
Is it possible to do using selector?
$('?????').click(function (e) {
}
If yes, please provide an example.
...
i need to fetch a url with javascript/jquery and not php.
i've read that you could do that if you got a php proxy, but that means that it is still going through php. cause then it's still the ip of the server that is fetching it.
could one fetch the url entirely with only front-end, and thus fetch it with the client's ip?
...
Hello,
I'm trying to put an animated PNG dynamically from external .js file. First I found a simple animated png solution, which draws an animation wherever you put the code within <script> tags, but now it looks like I don't know how to call the function properly from external file.
The script is from AnimatedPNG, and it looks some...
Hi have two forms with the exact same validation rules, but different ids that I'd like to combine into just one function. How can I do that?
var validator = $("#ValidateForm1").validate({
errorPlacement: function(error, element) {
if ( element.is(":radio") )
error.appendTo( element.parent().next().next() );
else if ( e...
Hi, i've been creating a web application in mvc asp.net. I have three different project/solutions:
One solution contains the model in EF (DAL) and all the methods to add, update, delete and query the objects in the model, the objectcontext is managed here in a per request basis.
Other solution contains a content management system in w...
When we open plain swf in browser, we are able to control the swf file by right clicking, the available control are: zoom in, zoom out, quality, rewind (previous frame), forward (next frame), and print. Is it possible to trigger those control using javascript especially jquery?
...
I have a PHP script setup using Jquery $.post which would return a response or do an action within the targeted .php file within $.post.
Eg. My page has a form where you type in your Name. Once you hit the submit form button, $.post is called and sends the entered Name field value into "mywebsite.xyz/folder/ajaxscript.php"
If a user wa...
I have a simple page with images, and when the user clicks the image, it opens up a new browser window with the image filling the area. I have the css set on the new window so that the image height and width are both 100% (and overflow is set to hidden) so that the window can be resized.
But what I need is for the window to maintain asp...