|
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.
|
|
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.
|
|
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 .
|
Ask your Facebook Friends
|
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 .
|
|
Say I have the following code:
var album = new MyObject('album');
Assume that when the object is constructed, a bunch of properties relative to only albums are loaded via AJAX. Would it be possible to create an Album class so that at a later point, I ...
Started by jd on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
So, yes, this can) { } }
This is actually the only for ... .
Like this you canJavaScript "classes", just like any other object, can be dynamically created .
Functions to decorate existing javascript objects with new functions and properties.
|
|
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()....
|
|
This might be a basic CSS question: I have a site designed with well-defined CSS themes. I'm adding some controls (from jquery), but they have the style of their designers, not my site's. What is the easiest way (least amount of work) to make the inserted...
Started by D.S. Blank on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Most common way is to inspect the DOM structure of the controls you are adding, and see if you can use the classes applied to style it the way you want, typically be overriding the CSS selectors in place for the control, or by writing CSS for the control... .
|
|
I have a system tray icon that receives incoming phone calls. When a call comes in, I want to send the phone number into a web app that does stuff on that phone number. We can launch the web app with the phone number in a query string, but if I launch...
Answer Snippets (Read the full thread at stackoverflow):
How about you write an active....
Use a bit of javascript to capture all keypress activity and you have a very simple method the JavaScript function through the document scripting interface, or you can just navigate in the browser.
To it.
|
|
Can i use javascript and jquery both in a page?
like:
<script type="text/javascript"> $(document).ready(function(){ //some jquery }); function xyz(){ //javascript statements //some jquery statements } </script>
Started by KK on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
JQuery == javascript
so Yes, javascript functions can co-exist with jQuery ....
JQuery simply provides some very convenient functions that takes care of some of the pain of writing JavaScript.
JQuery is JavaScript.
|