A variable is a named data storage location in memory. Using variables, a computer program can store numbers, text, binary data, or a combination of any of these data types. They can be passed around in code, to other functions and even other applications.
0
votes
5answers
52 views
Pass a variable to other class
I have a problem with passing int variable to another class. I've tried many methods of passing this variable but none have worked. Help me pass variable randomNum from MainActivity to ...
0
votes
0answers
5 views
How can I make the aspectratio variable in jcrop
I'm having some trouble making my aspect ratio variable in Jcrop.
I've got the following code for my jcrop
jQuery(function($){
// Create variables (in this scope) to hold the API and image ...
0
votes
0answers
20 views
JavaScript - Create a new variable with the name of a passed in event
I'm trying to create a new variable with the name of a passed in event, for example:
Say the passed in event
event.item.id
has the value "bg"
I then would like to create a variable named "bg" for ...
0
votes
2answers
30 views
pass javascript var into iframe
I'd like to select a random youtube video from a list of 5 videos. I use javascript to assign the videos into an array then select one randomly. I then attempt to pass the variable of the random ...
-4
votes
2answers
27 views
Return Javascript Variable in Ajax Response
ajax.js
var x="hello world";
var y="anyother string";
$.ajax({
url:"ajax.php",
success:function(data){
console.log($.globalEval(data));
}
});
ajax.php
...
0
votes
4answers
31 views
how can a access a variable from different function of the same class in php codeigniter?
Controller:
function act() {
//some code for connection
$input = (response from client);
return $input;
}
This is the first time the act will be called so as to connect to the client.
...
0
votes
1answer
16 views
Do php variables persist (using AJAX)?
Hello world!
This is my first question on this site, so I'm going to try to be as specific as i can... By the way, excuse me for my perfect knowledge of English... which isn't perfect at all..
So ...
0
votes
1answer
24 views
Less css - Can we use more variables seperate with coma
Like this
@ShuttleGrey: #606369;
I need same output color value from more variables [I am looking for a single line solution]
@themeOne:, @themeTwo:, @themeThree: @ShuttleGrey;
I ...
0
votes
1answer
35 views
how do I take selection from my php drop down list and turn it into a variable?
I am trying to take a drop down box in PHP and select one item from the first box. I then want the selected item from my first drop down box, and placed it into my $lineIDSelection variable so that I ...
0
votes
2answers
56 views
PHP - issue when access other variable
I'm getting error when try to access other variable. In search_server.php i try get $pilihdomain variable which defined in index.php
I try like this :
//index.php
<head>
...
0
votes
2answers
42 views
How do I pass an Array vlaue out of a function using Javascript
I am an absolute JavaScript newbie, however I am working on a private Project. In a nutshell I will be reading a few flat files (.csv/.txt format) and passing the values to HighCharts.
I have a ...
0
votes
3answers
30 views
Variable is null in other context C# Windows Forms
I'm going crazy now ...
I can not understand why if I create the variable "server" in the event button2_Click_2, when trying to access it in the event it button3_Click_1 be null.
What should I do to ...
0
votes
0answers
20 views
Attempting to output thumbnail for current “DJ” using user ID variable
I'm fairly new to Wordpress and PHP and I'm currently learning PHP in particular at this stage. Could do with some help as a bit stuck due to lack of knowledge of PHP I think.
So I've installed the ...
2
votes
2answers
37 views
Bash shell scripting - Error setting variables
I'm new at bash scripting. I tried the following:
filename01 = ''
if [ $# -eq 0 ]
then
filename01 = 'newList01.txt'
else
filename01 = $1
fi
I get ...
-1
votes
0answers
30 views
PHP require_once: Variable access [closed]
I've got an very interessting error.
In my php file I require another one and try to work with a variable (containing an object) from the file that requires the other one. (For testing purpose I've ...