JQuery :: .corner.js Plugin Not Working With <input> Elements
Aug 25, 2009
I must have missed a bit of information, because I cannot get the jquery.corner plugin to work with <input> html elements. The following renders a rounded div but not a rounded input element in FF3, IE7, IE8, and in fact causes the input box border to disappear completely.
<html>
View 3 Replies
ADVERTISEMENT
Aug 2, 2010
I have a problem on a Wordpress website: I gave certain pictures (as elements of the layout) rounded corners with a jQuery plugin. Some posted pictures I want to load with Lightbox (or similar). I have used several different Lightbox plugins for Wordpress (Lightbox 2, jQuery Lightbox, Simple Lightbox etc. etc.) but none of them work. I got some weird version of GreyBox working but FireFox gives an error every time before opening it so that's real shady code. As you can see on this page is that I include jQuery for the rounded corners at first but then the Lightbox plugin automatically adds it's own version of jQuery and they cancel each other out. I know for a fact this is the problem because I 'lose' the rounded corners as soon as I turn ON the Lightbox plugin. Once that is turned off the nice rounded corners show again. I tried several different plugins, changing the order of the jQuery code around, making both the rounded corners plugin and Lightbox rely on one single jQuery statement. Nothing has worked so far.
View 1 Replies
View Related
Jan 12, 2011
I'm using the following plugin to include pagination functionality in my application In a nutshell I'm developing a map-based application using Google Maps. The markers that I display on the map and the corresponding information windows (infowindows) that are displayed when clicking on a marker are dynamically rendered from records in a database as the user moves around the map. So basically these DOM elements are dynamically removed and added throughout a user's sessionThe contents of these infowindows are what I need to paginate in cases where multiple markers are stacked on top of one another.
I call the paginate() function from the marker's click event handler if that marker's infowindow contains more than one DIV. It all works beautifully until the user triggers an event that causes the markers to redraw (e.g panning the map). Once the following happens the paginate() function mysteriously no longer works. 1. I click on a stacked marker that causes the paginate() function to execute 2. I then execute some event that causes the markers (and corresponding infowindow DOM elements) redraw3. I click on the same marker as was clicked in #1. No errors are generated and the paginate() function is definitely called but the pagination does not occur. I think it might have something to do with jQuery seeing the containing DIV's id as a duplicate ID? Could I be on to something there?
View 1 Replies
View Related
Mar 31, 2010
I'm using a plugin (asmSelect) that dynamically generates list items as the user chooses options from a select. I want to add additional dynamic content to each of the list items as they are created. How is this best accomplished? I thought I could delegate a 'load' event for the list items, but it looks like load events don't fire for content that's generated by JavaScript. (Delegating a 'click' event works, so I know I've got the code correct.)
What I want to do is basically equivalent to:
$('#testform').delegate('.asmListItem', 'load', function(){
custom_content = '<span>' + [calculated result] + '</span>';
$(this).append(custom_content);
});
Modifying the plugin to take the dynamic content doesn't seem like an option. The additional content will be different every time, so I can't just pass it as an argument when I initialize the plugin.
View 2 Replies
View Related
Dec 14, 2011
check the code snippet below:
<div id="Mu00">
<div id="Mu001"></div>
<script type="text/javascript">
jQuery('#Mu001').load('http://www.myserver.com/page1.html');
[Code]....
NOTE jQuery load function is used to fetch the content for the <div> above.
Everything works (it displays the content that is fetched by jquery load function), but it also displays the literal HTML code "jQuery('#Mu001').load('http://www.myserver.com/page1.html');
" and "jQuery('#Mu002').load('http://www.myserver.com/page2.html');
"
View 5 Replies
View Related
Jan 12, 2010
I'm searching high and low for a plugin and since my knowledge of what's available out there in way of plugins is pretty poor, I implore the assistance of [URL] I need a edit-in-place plugin that, when I click "edit", will open up the fields for two items at the same time, a title and a description. One save button, and two editable fields. Title and description should be separate fields, one field, one textfield. I've found tons of plug ins that do one item at a time, but not several.
View 1 Replies
View Related
Jun 9, 2011
I have a huge form working fine, I have many hidden fields inside some DIVs, and as the user marks aCheck-box, the DIVsappearshowing the fields accordingly, but there are two DIVs with more than a hundred inputs(text), the problem is that when those fields are enabled the validation freezes the browser. I'm using jQuery1.4.2 and the latest Validate.
View 2 Replies
View Related
Apr 2, 2011
I am calling a custom method to validate adate input element (this element is an array ). Upon validation, a message is displayed against each date input element, even if the others are valid. If one date element is invalid, all other valid date elements too show the message. How do I make sure that the error message is displayed only for the invalid element?
My formelement is defined as such:
<input name="order_date[ ]" size="10" type="text">
Here's the script:
<script type="text/javascript">
[Code]....
View 1 Replies
View Related
Jul 21, 2010
I'm using the datepicker plugin, I want to define minDate as the value of another input (it's also a date) but this code is not working :
$("#date_retour").datepicker({
changeMonth: true,
changeYear: true,
dateFormat: 'dd/mm/yy',
minDate: $("#date_depart").val(),
maxDate: $("#date_depart").val()+1m,
defaultDate: $("#date_depart").val()
});
View 2 Replies
View Related
May 24, 2010
So i've got a form that adds an element onto the page. This is working. When I try to remove said elements, that works. But the same 'delete' button doesn't work on elements not generated by javascript.
Code JavaScript:
function destroyQuickTask() {
$.post($(this).attr("href"), null, null, "script");
[code]....
View 6 Replies
View Related
May 23, 2011
I have to change text input type to password input type and i am using jquery script. This script work for FF, Chrome and Safari browser but not worked on ie7, ie8.
Script is as:-
How can i update my script, so that it works cross the browser.
View 1 Replies
View Related
Jan 3, 2008
I just found out that clone(true) and my masked input plugin aren'tplaying nice together.Inside of my plugin I grab a reference to eachobject like this: "var input=$(this);" and then inside of my boundfunctions, I reference "input". After a clone(true) the events thatfire on the cloned input act on original input.Does anyone have any suggestions/guidelines for how I can make myplugin behave correctly with clone(true)
View 4 Replies
View Related
Jul 11, 2009
the validate plugin at the form at the below URL is validating as true as long as the first required input is valid even though subsequent required fields are invalid. It even gives the invalid class to all fields correctly but the submitHandler function is triggered anyway. I have an alert trigger when the form successfully submits and a little more output for firebug if you want it. [URL]
View 2 Replies
View Related
Jul 22, 2010
Is the validation plugin able to validate an input only instead of a whole form?I mean, is this lign correct :
$("#InputID").validate(
rules: "required"
);
View 4 Replies
View Related
Jul 10, 2009
Is there out there a jquery plugin for inserting price in a input field (I mean like date picker)?
View 1 Replies
View Related
Nov 11, 2011
I'm trying to load some html content into a page via the ajax .load() method (wrapped within the $(document).ready() function).After I execute this, I'd like to bind all new span elements from the loaded content to a context menu plugin like this:
$("#selector").contextMenu({
menu: ''myMenu''
},
[code]....
Unfortunately since the span elements are coming from the ajax request,I don't think I can bind a normal event handler as per the plugin. [URL] how to use event bubbling in this situation.
View 3 Replies
View Related
Oct 21, 2011
to remove the mask on submit?m not sure how the mask works but im guessing that it will submit the masked format as valuesalong with the manually input stuff.Can anyone shed some light?##simple terms##How do i only submit the value without the mask?
View 2 Replies
View Related
Aug 26, 2010
I am writing a ASP.NET UserControl and I am trying to incorporate JQuery into this. The control is a simple form with a few input fields (text, checkbox, select, radio). The first element in the form is a checkbox. Upon clicking this checkbox I want the all the input elements in the form (except the checkbox control itself) to be enable/disable. I tried writing some of this code but my solution was not getting me anywhere. Below is the ASP.NET form code.
<
asp:Panel ID="pnlInputControls" runat="server"> <table style="width:100%;">
<tr>
[code]....
View 2 Replies
View Related
Oct 30, 2011
I want to select all inputs that have the same exact values.I want to be able to grab those elements names.
View 5 Replies
View Related
Sep 15, 2009
I tried
[Code]...
it only alert "XXX" nothing else !!! any idea about this. My journey till now is difficult in jquery
View 2 Replies
View Related
Jul 29, 2011
Given input form elements on the display during page load, what is the proper way to replace the input elements when an Ajax call replaces the html? Here is a simple list of radio buttons:
[Code]...
I highlighted line 19 as that was the line I needed to add in order for the "shop" object to get the new input elements. Otherwise it was accumulating them. Can anybody explain the details of what was happening here and also confirm that the resolution is ? Is there a better way?
View 4 Replies
View Related
Apr 1, 2010
I´m trying to select all input button elements with class="button" in a page in order to change their css class. Looking through some examples I managed to come up with the code below, which works perfectly in Firefox 3.6, but for some reason seem to not work on IE7.
$('input.button[disabled=disabled]').attr('class', 'buttonDes'); how i´t could be achieved?
View 1 Replies
View Related
Sep 11, 2011
[URL]The plugin is not working on firefox, other browsers ok.
View 1 Replies
View Related
Apr 12, 2011
I am trying to create a web application using ASP.NET MVC and I want add auto complete functionality to one of my text box. So I have added below C# code into my HomeController class to return the data as JSON objects.
public class HomeController : Controller
{
public ActionResult Index()
[code]....
View 5 Replies
View Related
Sep 28, 2010
I've been trying to implement an accordion script in conjunction with prettyPhoto, a lightbox alternative, and although it works fine in Firefox & Chrome, IE is of course, not happy, and my site degrades horribly! [URL]..
View 14 Replies
View Related
Oct 22, 2009
I've inherited some code that uses the clock picker plugin however it doesn't seem to work in IE 8 and Firefox 3.5. This is the code for the picker.
$('<img/>')
.attr('alt', 'clockpicker')
.attr('src', '/community/tournamentsystem/images/clock.png')
.attr('class', 'ui-datepicker-trigger')
.attr('id', 'start_date_clockpicker')
.insertAfter('#id_start_date_1')
$('#start_date_clockpicker').clockpick({
valuefield: 'start_date_1',
military: true,
starthour: 0,
endhour: 23})
I have downloaded the latest version of the clockpicker but it still doesn't work in these browsers.
View 1 Replies
View Related