Hi there!
Does anybody know how to deal with the effect at http://2crossmedia.com/liv-multicolor/
If you click into the text field, its surrounded by a color-changing line.
The code says it's jquery. But how :) ?
A lot of thanks!
...
I am trying to implement file upload with jqgrid (in a Zend Framework project). jqgrid allows you to create an input field of type "file" but does not enable ENCTYPE=“multipart/form-data”.
The creator recommends using another plugin to handle file uploads, specifically Ajax File Upload. He says to initialize it using the onInitializeFo...
I'd like a user to be able to highlight a select of text and be able to drag and drop the text selection into a DIV. The DIV would be binded to be able to capture the text that was dropped.
Any ideas on how to make this happen?
Thanks
...
Hello again,
I'm trying to loop through my totals in order to get a grand total for my web app. So far the code I am working with is the following:
function calcAllFields() {
var name = parseFloat($('div [name = total[]]').text());
var totArray = $.makeArray(name);
var total = 0;
for (var i = 0; i < totArray.length;...
I have an arbitrarily deep list of the form:
<ul>
<li></li>
<li>
<ul>
<li></li>
</ul>
</li>
</ul>
I am trying to build a function "nextElement" that returns a jQuery selector.
The first time the function is called, it returns the first li in the list. The second time it is called, it returns the next li in the page. Etc. ...
I'm working on an ASP.NET app where I'm in need of jQuery AutoComplete. Currently there is nothing happening when I type data into the txt63 input box (and before you flame me for using a name like txt63, I know, I know... but it's not my call :D ).
Here's my javascript code
<script src="http://ajax.googleapis.com/ajax/libs/jq...
i have a horizontal nav menu that's using jquery superfish. in one of my dropdown menus there'll be no more dropdowns within it (i.e. no grandchildren nodes.) but there are several children. 45 to be exact right now and it may go up or down in time. i'm trying to find a way to have the dropdown be columned passed a certain count. 15 work...
I've got this html:
<table>
<tr style="display:table-row"><td>blah</td></tr>
<tr style="display:none"><td>blah</td></tr>
<tr style="display:none"><td>blah</td></tr>
<tr style="display:table-row"><td>blah</td></tr>
<tr style="display:table-row"><td>blah</td></tr>
</table>
I need to count the number of rows that don'...
I'm working on an image browser/upload feature, and I'm using PHP Image Editor to help me allow users to edit their images once they've been uploaded. Images are not stored on the web server, but on a separate file server. So what I do is: when an image is selected for editing from the image browser page, I download the image from t...
Hello,
I have tabs that calls via javascript urls of django to complete the "container"
But i am getting 301, any idea why this is happening?
Server misconfiguration?
urls.py
urlpatterns = patterns('',
(r'^admin/', include(admin.site.urls)),
(r'^list/', 'carsproj.cars.views.list'),
)
view
def list(request):
if request.i...
Hi. Want to use the codeigniters smiley pack .
I am creating the messaging window with this code
in controller I use the code from Documentation
$this->load->helper('smiley');
$this->load->library('table');
$image_array = get_clickable_smileys('/files/smileys/', 'fieldMessage');
$col_array = $this->table->make_columns...
Hi,
I'd like to add a <li> at a specific position, for example:
<ul id="list">
<li>Position 1</li>
<li>Position 2</li>
<li>Position 4</li>
<ul>
Let's say that I want to add a new <li> below/after <li>Position 2</li>, how can I do it using jQuery?
I've tried to do it using the code below:
$('#list li:eq(1)').append('<li>...
I would like to be able to click a link within a div to generate an overlay that is situated over that very same div using jQuery. Saw some similar questions but still found myself lost. Wanted to do this without jQuery UI.
Here is a basic code example (minus jquery needed to make it actually work):
<style>
div {padding:5px;}
#box {wid...
This line of code is working fine for Firefox
$("#<%=txt1.ClientID%>").text()
but not for IE8 and IE7. See the scenario below in order to understand what I really mean:-
Scenario:-
Loading .aspx page.
populating text box with some data from database.
Now user changes data in same text-box at client-side (means page not yet submitt...
I have a jquery ui modal loaded with checkboxes. some checkboxes have an event click associated with them depending what their class value is. the click event will open another modal dialog for confirmation. the checkbox fires the click event as expected, but the checkbox does not stay checked on the original modal dialog.
I have v...
See this sample page.
The icon I want to be using is this:
The icon, as shown on the page, looks like this:
How can I make DatePicker use my original icon without modifications?
...
I'm working on a jQuery plugin, but am having some trouble getting my variables properly scoped. Here's an example from my code:
(function($) {
$.fn.ksana = function(userOptions) {
var o = $.extend({}, $.fn.ksana.defaultOptions, userOptions);
return this.each(function() {
alert(rotate()); // o is not defined
});
};...
Hi
I am using asp.net mvc 2.0 and jquery validate 1.7 (http://bassistance.de/jquery-plugins/jquery-plugin-validation/)
What happens is this. A user can click on a link to edit a product. When a user clicks on which product they want to edit a jquery dialog box appears with a form of textboxes and dropdown lists.
These html controls ha...
I've so far suceeded in getting a valid access token. Now I'm just trying to get a JSON response using jQuery.
This is most of my code. It is called on load from a window created by the background.html:
$.ajax({
url : 'https://graph.facebook.com/me?access_token=' + access_token,
dataType: 'json',
error: function() { alert(...
First, apologies. I'm a js newb.
I'm attempting to trigger a shadowbox with the load of a specific page - a "pop-up" if you will. Nothing happens and according to firebug, there are no errors to report.
I should note that this is wordpress, so I'm using the default jQuery call and also shadowbox rolled into a WP plug-in. Shadowbox do...