|
I'm looking for a javascript drop-down for a date range that allows the user to select start and end dates from a single form field, similar to what exists in the Google Analytics UI.
I've found a lot of pre-existing javascript for two separate form fields...
Started by Travis on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
JavaScript blocks, uses no pop-up windows and is suitable for use within documents served.
|
|
Hello I want to implement a javascript graph plot application (ie http://people.iola.dk/olau/flot/examples/turning-series.html ) to the existing admin view, where the instances of a model at the listing view also showing charts of these items and can ...
Started by Hellnar on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I hope this can help you in the right direction. .
To your javascript.
|
|
If I have a style defined
.style1 { width: 140px; }
can I reference it from a second style?
.style2 { ref: .style1; }
Or is there a way via javascript/jQuery?
--- Edit
To clarify the problem, I am trying to apply whatever style is defined for a #x and...
Started by JTew on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
You also can't do it directly with JS, but there's sort of a hacky workaround:
$('.style2').addClass ('style1');
you can achieve the same functionality... .
There's no way to do it with CSS -- it's an oft-requested feature, but not included in the spec yet .
|
Ask your Facebook Friends
|
Does anyone here know of a Javascript application (something similar to Lightbox, only not for images) for drag-and-drop, preferably running on the Prototype Javascript Framework?
Alternatively, I'm open to using jQuery or something else that's supported...
Started by waiwai933 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
The prototype alternative using the scriptcaulous library: http://wiki.github.com/madrobby/scriptaculous/draggable
regards
Using jQuery and jQuery-UI, you will be... .
I recommend http://docs.jquery.com/UI/API/1.7.2/Draggable since you are open to jQuery.
|
|
JavaScript frameworks like Prototype, jQuery, YUI, MooTools, Dojo, et al. all seem to target client-side developers, with the focus on enabling common user interaction patterns to be implemented more efficiently and with less code.
With the emergence ...
Started by Jeff Hammerbacher on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
I think there will be a place for it on the client side, especially as Javascript moves towards.
Like everyone has already said, most JavaScript libraries side.
In general, I wouldn't count on it.
|
|
I am opening a window with window.open and I am losing the server session. Is there a way to open a window with Javascript and use the same session?
I need this working in IE 7 and higher.
I am working with ASP.NET on the server side. The sever does not...
Started by Phobis on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
In PHP, you could use something like this:
window.open("newurl.php?PHPSESSID=<? echo session_id(); ?... .
I don't know what server side language you are working with, but usually, you can use a GET parameter to populate your session into the new window .
|
|
I'm not trying to load javascript with jquery or anything of that sort.
Currently I'm modifying swfupload (if you'r familiar with it, great, otherwise it shouldn't matter) to work with a website I'm building. I need the ability to upload, store and delete...
Started by Matt on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
$.post("delete_file.php", {name.
Always POST to send data that will change existing data or state.
For an existing element or are you trying to load the page?
Based on just the code you posted, first() ).
|
|
Using JQuery I want to bind an existing function to a button. I've been through the documentation and have found the bind method but the examples on the JQuery bind newly created functions where as I want to bind a function thats already hard coded, e...
Started by Jack Mills on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
So just pass the function instead of calling it and thereby just passing the return value:
function fBindFunctionToElement(){ $("#MyButton").bind("click",... .
The plain fHardCodedFunction already refers to the function and the suffix () will just call it .
|
|
Hi All,
I'm trying to edit the readability.js file from http://code.google.com/p/arc90labs-readability/ .
It's a bookmarklet that "cleans" the current page by stripping everything except for the web page/web article title and body.
However, I'd like to...
Started by NewbieCoder on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Separately) It would look something like this:
First you would need to store the existing innerHTML.
|
|
I'm trying to modify all links on a page so they perform some additional work when they are clicked.
A trivial approach might be something like this:
function adaptLinks() { var links = document.getElementsByTagName('a'); for(i = 0; i != links.length;...
Started by racha on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Work> } }); }
This requires using an extra library but avoids some issues that exist: if the original onClick handler is assigned using "normal" JavaScript, the line; <script type="text/javascript"> function adaptLinks()....
|