Hi guys,
I'm stumped and frustrated so time to ask for help. Done a lot of googling but yet to find a solution that works for me.
What I have is a whole bunch of divs that can be sorted using Jquery sortable, some of divs contain a TinyMCE instance. Which is all fine until you try to move a div that contains a TinyMCE instance - when...
I'm new to JQuery so this question might be an obvious one, but I have something that appends a text to what's already in an input box:
$('a.blog_category').click(function(){
var current_value = $('#id_category').val();
$('#id_category').val(current_value + ', '+ this.text);
return false
})
I'd like to add an if clause that so...
Hi there,
I'm building a project in jQTouch & PhoneGap. After building the app in jQTouch, i'm at the point where I need to start adding in the fixed header & tabbar to navigate between sections.
I used this post to get the components visible: http://phonegap.pbworks.com/iPhone%3A-UIControls-%28TabBar%29
Can i please get some help wi...
So some web apps I've made have little "features" of ajax. Simple things usually, so I've only ever needed one hash (e.g. example.com/products#shirts). What if I wanted to have the "products" page loaded through ajax too? I know that it doesn't need to be in the hash, but for some functionality I prefer it (for user history and following...
Hi,
First of all, im new here, and im (not) a pro ;) (but i want to... lol). Okay, im starting a little php application to manage my icons (huge) collection... but i realise that i wrote everything in javascript (no jQuery) and my life would by a little more easier if i use jQuery... So now im trying to understand how to do that i i'll n...
I'm relatively new to Javascript, and I'd like to run the piece of code I spent the weekend playing with through JSLint so that it can point out where I was being a total idiot :)
Unfortunately, I get tons of errors about missing function declarations, which are part of the JQuery javascript library and various plugins for it.
Is there...
Possible Duplicate:
Javascript callback programming?
A lot of jquery functions allow for a callback. Most are in a syntax like:
$('.selector').slideUp('fast', function(){
alert('slideUp has completed');
});
If I'm writing my own function, how can I make sure it is finished before the one after it is called (i.e. provide...
I have a function which is a JQuery event handler. Because it is a JQuery event handler, it uses the this variable to refer to the object on which it is invoked (as is normal for that library).
Unfortunately, I need to manually call that method at this point. How do I make this inside the called function behave as if it were called from...
I have a form with multiple fields, and each time the user changes a field the form is submitted (via hidden iframe), and the response is placed within an appropriate div on the page via a callback. The first time this works fine. But on each subsequent field change and submission, the response is shown in every div that has been filled ...
I have a menu and each menu item is a span with a class set in css:
.newClass {color: red}
.oldClass {color:black} oldClass:hover {color:blue;}
When you click on a menu item the class is changed with:
$(this).removeClass('oldClass').addClass('newClass');
which works fine.
When another menuItem is click I change the classes back o...
I have two tables and I want to have change event on one table.
That is when I click on first table, I want to have some changes to the second table. But somehow below change function is not working. Any suggestions?
$("#history_table table:eq(0)").click(function(){
$("#history_table table:eq(1) thead tr th:nth-child...
Let's say I have custom HTML tags like so:
<fb:est hours="5">5 Hours</fb:est>
<fb:act hours="4">4 Hours</fb:act>
How do I select the fb:est elements?
Doing var e = $('fb:est') does not work. And var e = $('fb\:est') doesn't work either.
...
I'm looking to create the storyboard idea that oDesk uses on http://www.odesk.com/w/odesk_story
I like the way the html is laid out but I can't seem to find the javascript that controls it.
If I were to recreate that functionality exactly, what would be the best plugin to use.
Or for that matter is it hard to write it myself?
In summ...
How use partial decorator in Jquery Element
I use this code for Form Element:
$title = new Zend_Form_Element_Text('title');
$title->setRequired(true)
->setAttrib('class', 'inputbox')
->setLabel('Title');
$title->viewScript = 'RegElement.phtml';
$title->setDecorators(
array(
...
Hi everyone, I'm looking for a way to change the Right-Click context menu in Firefox using jQuery/CSS... and disable de default one of course.
I'm trying to make a Windows Explorer-like app to manage images and i want to be able to delete pictures using the right-click.
Anyone have an idea, cant find one.
Thanks!!
...
Trying to bring different tools/technologies into one project, so this question is for ideas to achieve each stage.
I'm currently using GraphViz and like it's simplicity in presenting data; compared to other comparable tools. Project: Computer network.
Is there an alternative (javascript/client side) tool to ZGRViewer? I like its abil...
How can I do this:
I have a CHECKMARK image wherein when I click that image, it will be replaced with a LOCK image. How can I do this in jquery and php?
...
Hi, I got just want to ask if its possible to insert a jQuery variable on an attribute. Here is a sample code:
<html>
<head>
<script type="text/javascript">
$(function() {
var url = 'http://www.google.com';
var data = '?one=1&two=2&three=3';
});
</script>
</head>
<body>
<a href="jquery var">Click here</a>
</body...
Hello!
I'm using pirobox as an image preview for an image selector tool i'm building. at the moment, you can preview the image (pirobox) and also select a new image to replace the existing one.
When you click to select a new image, a list comes up with all the different images available (from database, so using $.post() to retrieve)....
Can someone help me figure this out please?
I am working with an inline editor and need to alert() an error if the server returns one. I have no idea how to do this. I'm brand new to jquery so you;ll have to spell things out for me.
I'm using the editor here: http://code.google.com/p/jquery-in-place-editor
I'm using the following code...