On Wed, Jan 15, 2014 at 5:38 PM, Rick Faircloth wrote:
>
>
>
> It shows [ "27", "28", "26" ] in the console.
>
> I guess I can just pass that through and have a cfargument type of "list"
> and parse those ID's with a cfloop to assign them to individual
> cfarguments.
>
> Or does a cfargument type
Thanks for the tip, Jon! I'll have to check out those Chrome Dev Tools!
Rick
On Wed, Jan 15, 2014 at 6:18 PM, Jon Clausen
wrote:
>
> I like Postman because I can manually test web services, including HTTP
> verbs and enter form and URL variables against services to test responses
> and error
I set emailNewsletterGreeting earlier. It's a value from a single DOM
element,
so no problem with that.
And I was tinkering with code prior to the ajax code, so I was changing
variable
names halting the processing before ajax kicked in.
Your array idea sounds good.
I also tried this:
var speci
Ah - so it lets you do ad hoc testing. That is cool.
On Wed, Jan 15, 2014 at 5:18 PM, Jon Clausen
wrote:
>
> I like Postman because I can manually test web services, including HTTP
> verbs and enter form and URL variables against services to test responses
> and error handling in a variety of
I like Postman because I can manually test web services, including HTTP verbs
and enter form and URL variables against services to test responses and error
handling in a variety of formats. It also has tabs that parse your return data,
like the network tab does, but in a better format. It's b
So values is this:
values = { emailNewsletterGreeting: emailNewsletterGreeting,
specialTitleID: specialTitleID}
I see you set specialTitleID. But you had it in loop. You probably wanted
to make that an array. If the values are IDs though you could use an ar
Hey, Ray, and thanks for the reply...
Here's the ajax part...
$.ajax ({ cache: false,
type:'post',
url:
'email-newsletter.cfc?method=mProcessEmailNewsletterForm&returnFormat=json',
data:values,
success: function(result) {
alert('Success!');
How is that better than the Network tab itself?
On Wed, Jan 15, 2014 at 3:59 PM, Jon Clausen
wrote:
>
> On a related note, the Postman extension for Chrome is great for testing
> what your remote CFC's are doing with form variables.
>
> > On Jan 15, 2014, at 4:53 PM, Jon Clausen
> wrote:
> >
>
On a related note, the Postman extension for Chrome is great for testing what
your remote CFC's are doing with form variables.
> On Jan 15, 2014, at 4:53 PM, Jon Clausen wrote:
>
>
> I would set your argument type as a list and then validate,loop and process
> the list in your CFC method. I
I would set your argument type as a list and then validate,loop and process the
list in your CFC method. If so youll need to change your each() loop to
append the variables in to the list and then post the string in your $.post()
request.
HTH,
Jon
On Jan 15, 2014, at 3:56 PM, Rick Faircl
> It is **impossible** to document.write...
> yes, your right. Sorry about that. It was the other way... writing CF to JS
> vars. My bad! Doing too much as once.
Robert Harrison
Director of Interactive Services
Austin & Williams
Advertising I Branding I Digital I Direct
125 Kennedy D
It is **impossible** to "use document.write java script (sic) to write the
variable to a CF variable". Cannot be done. Why? Because CF variables are
only available on the server side, and are long gone figments of one's
imagination by the time the HTML/JavaScript/CSS/etc. reaches the client
side (
If the value isn't changing after the page is rendered you may be able to use
document.write java script to write the variable to a CF variable that you can
pass to the CFC. I've done that before and it works fine, so long as the
variable doesn't change after the page is rendered.
Robert Harr
Why didn't yo post the AJAX code? Isn't that crucial for getting the values
to your CFC? We need to see that.
On Wed, Jan 15, 2014 at 2:56 PM, Rick Faircloth wrote:
>
> Hi, all...
>
> I've approached this problem from every direction I can think of and with
> reference to many, many websites, b
Hi, all...
I've approached this problem from every direction I can think of and with
reference to many, many websites, but I still can put together an answer.
I have this HTML in a form:
#special_title#
Which is output into this:
This jQuery processing the inputs:
I am working on CF9 and I am making a pdf. We did this in CF7, but it's much
different in CF9. I have a signature that certifies my document and it's in
.gif form. I need to import that into the pdf right where a form field goes.
I have
But that puts the image path into the field, not the
If you had this
if(data == 'false')
then this is comparing the data to a string of false, if you want to check
for a true or false then you need to remove the single quotes so that it is.
if(data == false)
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.googl
17 matches
Mail list logo