To resolve a conflict between jQuery and prototype
is there any way other than asking jQuery to resolve via
jQuery.noConflict
and using jQuery instead of $('code').code;
Cant we ask prototype $ to step down and resolve.
...
Hi
I have a button on ASP.NET MVC View page.
When the user clicks on this button, i have to export the data using JQuery plugin.
Appreciate your responses.
Thanks
...
The jquery autocomplete provided by http://docs.jquery.com/Plugins/Autocomplete can work on a INPUT field or a TEXTAREA field. I have a use-case to make a DIV element act as a TEXTAREA by setting its attribute to contenteditable="true". Can I use the DIV's DOM handle for the autocompleter to behave as a textarea for the autocompleter. Cu...
All,
In the following code
<body>
<div id="slidemenubar">
<a href="">1</a>
</div><br>
<div id="slidemenubar2">
<a href="">2</a>
</div>
</body>
On mouse over hyperlinks 3<br>,4 <br>,5 should be show on the right side(like sliding menu)
On mouse over 2 6<br>,7 should be shown in the sliding menu and the new menu shoud be towards righ...
Environment : PHP/MySQL/Jquery
I would like to refresh the page (ex: index.php) when new data stores in to the table (ex : new_entry_table) checking for every one minute. The same page will be opened in many machines(pc-browsers) at a time all should get refresh when new data arises.
using jquery and database check i tried the followi...
All,
In the code below,Could u please tell me that how code should be changed such that on mouse over hyperlink,div should appear and on the right side of the hyperlink
<html>
<head>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script>
$(document).ready(function(){
$('a.moreDetails').hover(function() {
$(t...
I'm calling a SharePoint Web Service (Webs.asmx) with JQuery to get a list of all subsites:
$(document).ready(function() {
var hrefParts = window.location.href.split('/');
var wsURL = "";
for (i = 0; i < (hrefParts.length - 2); i++) {
if (i > 0)
wsURL += "/";
wsURL += hrefP...
In my backend I'm using jquery 1.4.1 and the newest UI 1.8rc1. I defined a couple of buttons that do things... one is create a certain type of page using serialize functions calling a php file and then reloading the entire page. locally this always works like a charm! but as soon as i put it on my providers webserver, it only works in ab...
In my page there are two 'Conatct Selected' anchor button, one at the top having id as "selectAllLink" and other at the bottom having id as "selectAllLinkB" of the page. The top one working perfectly using the following script:
<script type="text/javascript">
$(function() {
$('#selectAllLink').each(function() {
var a = [];
...
Say I have the following html:
<div id="myDiv" title="My Div">This is me!</div>
I want to write a jquery statement such that the result is the entire line above as a string.
I almost want something like:
var selectedHtml = $("#myDiv").self(); (I know that's not valid jquery) which results in selectedHtml having the value "<div id="my...
Is it possible to detect how many characters are being pasted into a HTML textarea, and cancel the paste if beyond a limit?
Edit: what I am trying to do is prevent the user pasting a massive amount of characters (~3 million) because it crashes some browsers. So I want to cancel the paste before their browser locks up. I am making a docu...
Hi,
I'm having problems with .live() and confirm. It's multiplying the confirm dialogs for every click. I know about .die() but i can't get it to work.
$("button.del").live("click", function(){
if(!confirm("Are you sure?")) {
//close
}
});
I've tried $("button.del").die("click"); right after the abov...
Hi. I am using jquery super gestures, http://www.evanbot.com/article/super-gestures-jquery-plugin/22, for an interface on a site.
I want each gesture I use to have a series of actions assigned to it e.g:
When one movement (say moving the mouse to the left) is performed by the user it fades in a div with a nice graphic prompting the u...
Hi,
I am facing one problem in the following code , Form is going to submit when i press enter in Keyword text field. there no such enter event bind in java script. Still this problem is happing
But when I remove the <form> tag it works fine ,
Please help .. if there is any mistake
<form action="" method="post" id="businessSearchFor...
Hello all,
I am a beginner in jquery so please bear with me.
I have a jquery function that allows me to select multiple checkboxes and create a string as follows:
function getSelectedVals(){
var tmp =[];
$("input[name='checks']").each(function() {
if ($(this).attr('checked'))
{
checked = ($(this).val());
...
All,
var a='<div id="details" onmouseover="tip(this)">';
function tip(el)
{
$(this).mouseover(function() {
var b="<div id='test'>"+el.innerHTML+"</div>";
$(b).css("display", "inline");
});
}
Is anything wrong with the above code? I am trying to display el.innerhtml on mouserover next to the hyperlink
...
Can any one tell me how to use tagging auto-complete in django templates?
I have done this in django admin interface but i am confused to how to do it in the template.
Thanks in advance
...
One of the things I like about the YUI framework is the DataSource control. A common widget that intelligently gets data from a variety of sources and plugs into other UI widgets in a standard way. So... you fetch tabular data into a DataSource and then have the option of plugging that data into a table, a chart, an autocomplete widget, ...
Hello,
I have an "uncaught exception: Syntax error, unrecognized expression: )" in a jQuery application.
The code is:
<script>
$(document).ready(function(){
$('.drag').click(function() {
$('.drag').each(function(i) {
$(this).addClass('test' + i)
});
...
In this small, but full example, I am trying to recreate a dual list box UI component. I simply wish to be able to move items from one box to another. (Would be nice if I could add sorting, but one hurdle at a time I think!)
I am getting a problem with this code in IE7 (FF, Chrome, Opera all seem to work fine). Whenever I move items f...