Say we have an XML document with many book nodes...
When parsing XML with jquery, how can i pass the current node from each() iteration to another function that will do some stuff until something is reached and then go back to the previous function (passing along the current node from this function back to the first function)?
Here som...
Hi all,
I am trying to maintain my session variables that I get back in a cookie from my website in my DefaultHttpClient by passing the client between activities. Simply put how can I pass this object between activities to maintain my session variables? Bundle.put... doesn't seem to support this object. If it does how does it work wi...
Hello, I am trying to pass a variable to an ajax request via jquery. I have a triggered event that defines the variable. I want to do this so that I can have one ajax request handle multiple urls. I have alerted the url and it come back fine, but when I plug it into the URL slot of a $.ajax request my targeted content does not load. Here...
I'm building a set of pages where I have a number of GET variables and it is often valuable to keep passing it along to the next page. This leads to ugly code where I have to have "if this $_GET variable is set, dynamically add it to this hyperlink". This is, in many senses, not a problem; but I had the thought "there must be a better wa...
noob question right here. How do you pass values between 2 different cpp files in the same project? Do you make objects? if yes, how does the other cpp file see it?
some enlightment pls..
EDIT: some clarifications. I'm trying to interface direct input with a program (of which I have the plugins sdk). I'm trying to interface a joystick w...
I need help with an Xcode script, and was wondering if anyone can help me solve this.
Lets say that I created these fields, "UITextField *titleField" & "UITextField *tagsField" directly within a table cell. And the "UIBarButtonItem *saveMyContentButton" below calls a function "saveMyContent". When I run the app I get the two commented e...
Hello,
Hopefully my title was descriptive enough to attract the right help.
I want to write a function that will return 1 thing, and modify a provided pointer in another.
My current function declaration is . . .
char * replaceURLS(char * body)
What I want to do is copy all of body's data into a new string, and set body to point to ...
I have two customized cells in an iphone UITableViewController and would like to capture the data in one cell into another.....
I am currently unable to post images and pls assume the following points.
There are two custom UITableViewcells
1) Notes Textfield in one customcell
2) Submit button in another text field.
Now i want to pass ...
Hi all, I am trying to get values from a view which i have the code below and I am taking the start date value from the view input text box and posting it back but I am still getting null except for the apikey and userkey.Here are the two views..
public ActionResult View1(string apiKey, string userId)
{
StartGoalView...
I'm just venturing into the world of OOP so forgive me if this is a n00bish question.
This is what I have on index.php:
$dbObj = new Database();
$rsObj = new RS($dbObj);
This is the Database class:
class Database
{
private $dbHost;
private $dbUser;
private $dbPasswd;
private $dbName;
private $sqlCount;
funct...
I was wondering if it's possible to pass a session coming from PHP by simply clicking a link from the PHP site
from PHP site:
Click here
and then the ASP.NET site (www.123company.com) will get the value of id=1 and use it to validate an existing function.
Is it possible? Comments and suggestions are welcome. Thanks
...
Hi
I am going to build a very complex application and I need an advice please.
Since the application will use a lot of dlls, I need a GOOD way to send data between the main module and the dlls. What do you recommend for that? Data would be passed in both ways(app->dll, dll->app, and maybe dll->dll)
I'm using c# 2010 and wpf.
Thanks
...
I am passing the reference of name to *mod_name*, I modify the referenced object from within the method but the change is not visible outside of the method, if I am referring to the same object from all locations how come the value is different depending on where I reference it?
name = "Jason"
puts name.object_id #19827274
def mo...
How do I send a variable in jquery to a callback function? function(r){ }
Look at the demo
Whilst on the demo, notice that the form above the menu can be serialised. Also notice that when clicking a folder icon whilst on an item (click a category from the left), and submit the form that way, it cannot be serialised.
I have a variable ...
Using jquery alerts dialog plugin, how do I send a value in a form that is displayed in an alert, to a callback feature? The form is in the alert, and the callback happens after I click OK.
This is code that works, ignore this code as it is a working example, it basically shows how a form can be serialised. This code is taken from the J...
I have a situation where clicking a link in one column on the datatable opens A update FORM in the same page. The problem is when I hit the submit button for update, the render is set to false again of that update panel which was previously set true by parameter passed clicking the link.
I tried htmlhiddenInput and did setValue and get...
I need to be able to use one object in multiple activities within my app, and it needs to be the SAME object. What is the best way to do this?
I have tried making the object "public static" so it can be accessed by other activities but for some reason this just isn't cutting it. Are there any other ways of doing this?
...
Hi all,
I having trouble with passing http get parameters to jsf 2.0 backing bean.
User will invoke URl with some params containing id of some entity, which is later used to persist some other entity in db.
whole process can be summarized by fallowing:
1. user open page http://www.somhost.com/JsfApp/step-one.xhtml?sid=1
2. user fills s...
I am using contactsreader.dll to import my gmail contacts... One of my method has out parameter... I am doing this,
Gmail gm = new Gmail();
DataTable dt = new DataTable();
string strerr;
gm.GetContacts("[email protected]", "******", true, dt,strerr);
// It gives invalid arguments error..
and my gmail class has,
public void Ge...
Hi
I am fairly new to Interop/Com/ActiveX etc, so bear with me.
I am late binding into a com/activex (not sure which one) server (basically an exe not a dll). I am successfully using all the methods in that server except for one, here is the description:
VT_INT GetLastCCTError (variant
*error_string);
Description: This funct...