echobase 0 Newbie Poster

Hi-

I have a javascript string variable:

var string1 = "blah blah blah";

....and after some operations are done to it (NOT directly by the user but triggered instead by events happening in the background) I want to pass it back to the server to be saved in the database when the user clicks on a "submit" button. I've seen examples using "link_to_remote" using ":with" and I believe that is probably part of the solution but am not sure how to make it work in my particular case. BTW, let's say I want to save this variable to a field in the database called "info"....Please help......Thanks...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.