Hello,
Consider the following scenario. I have three php files, file1.php, file2.php and file3.php located on my server.
file1.php starts a session and sets a session variable say,var.
I am able to access var using $_SESSION['var'] in file2.php. file3.php is called using jquery ajax functionality, but im unable to access $_SESSION['var'...
Hello all. I'm trying to retrieve JSON with JQuery from: http://www.chirpradio.org/json
How do I retrieve, parse and display that JSON in a web page.
I'm new to JSON and JQuery, and the onsite documentation is a bit difficult to follow.
Thanks,
Moemonty
...
hallo all. i am trieng to build a function that gets all ul's on screen that have less then 3 li elements.
i need this as a jquery object. so i dont mind if it will be a function or just one selector.
how do i do it?
thanks
...
Hi all,
I want to change my login page from using an updatepanel to a pagemethod which will be called using jquery. Now I'm wondering if this is a safe approach? The username and password will be send to the pagemethod and from there it will be validated, hashed and checked against the database. Client side validation will be done using...
Hello,
i'm using the jquery dock in my project, but i have the following problem:
i want to set the dock at the bottom of the page permanently.
When i resize the height of the page so that i can scroll it, the dock is going with the scrolled page.
how can i fix my dock at the bootm like in this demo:
http://www.ndesign-studio.com/dem...
I have the following code to do a doubleselect using Struts2 and the jquery plugin:
jsp:
<s:url id="ajaxActionUrl" value="/getStateCodesJson"/>
<sj:select name="stateCodeId"
id="stateCodeId"
label="State"
href="%{ajaxActionUrl}"
onChangeTopics="reloadSecondSelect"
list="stateCode...
Done myself,thanks anyway to all :-)
...
I used an example script of how to load an SWF file with the JQuery SWF plugin (http://jquery.thewikies.com/swfobject/examples). I am trying to get the plugin to work in a JSP. It appears to work in FireFox and Chrome but not in IE8.
Can anyone see any obvious issues? Thanks in advance.
<%@ taglib prefix="c" uri="http://java.sun...
i have quite a lot of jquery files, like around 6 files, how can i sort them out. shall i put them all in one file, and upload it to a CDN, taking in account page loads etc.
p.s. im also using google jquery cdn!
...
Possible Duplicate:
Use JQuery SWF plugin in JSP
I used an example script of how to load an SWF file with the JQuery SWF plugin (http://jquery.thewikies.com/swfobject/examples). I am trying to get the plugin to work in a JSP. It appears to work in FireFox and Chrome but not in IE8.
Can anyone see any obvious issues? Than...
Hi I have this line in my script to reference any button click on my page
$("input").click(function() {
alert ("clicked") ;
but_id = (this.id);
});
It will then work on any input element but I cant seem to reference just a button . I thought this would work but is does not
$("input :button").c...
Hi all am very much novice with JQuery and its my first commercial project after my uni, am looking to use sliding JQuery gallery for my client project can any one please suggest me any open source website where i can find this galleries.. Thanks
...
I use a jquery draggable and I wanted to do is when I click and hold the header, the cursor turns to move cursor. I already tried css active and focus but nothing happen.
...
I have a group of indexed input fields that contain an autocomplete text field that returns a list of names found in the database. The user can add as many "groups" as they need to, with each "group" containing a set of incremented indexed input fields. If the user begins typing, however, and ultimately enters a name that isn't found i...
Hey all i am trying to get my code below to work in order for the "bug', when the mouse is moved over it, to animate like it's flying a little bit.
Here is my current code:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript">
$(documen...
$(window).load(function(){
alert(typeof $.fn.init_deps);
});
$(document).ready(function(){
/* Departments switcher */
$.fn.init_deps = function(s){
var o = {
deps:false,
cats:false
}
$.extend(o,s);
if(!s.deps || !s.cats) {return;}
return this.each...
ok, rails 3 new developer here.
I want my jquery to be able to get a json object from the rails 3 application for projects. Here is my controller.
def yourprojects
@projects = Projects.all(current_user)
respond_to do |format|
format.html # index.html.erb
format.json { render :json => @projects }
end
end
I added the fo...
I have a 2 part form.
The 1st form is submitted via $.post and (if all goes right), is replaced by a dynamically generated form from php. The idea behind this being that the 1st form creates an entry and the number of related images for said item. A new form is generated to upload said images.
My problem is that my newly generated fo...
hello
i have 2 buttons each of them has toggle function with 2 function inside the toggle.
i have a problem that i want the toggle to be restarted if the user didn't click on the same button twice for example
if the user clicks on X first function will fires if he clicks on Y and then re-click on X the first function will fires again...
I'm having trouble printing an object with a variable name. It works when I hard code it.
var objectVarName = "lat";
var obj = jQuery.parseJSON(JSON.stringify(msg));
// {"lat":"93"} is what JSON.stringify(msg) prints
$('#display').prepend("<br/><br/>" + JSON.stringify(msg));
...