Search:

Type: Posts; User: chris.cavage

Page 1 of 13 1 2 3 4

Search: Search took 0.12 seconds; generated 56 minute(s) ago.

  1. VS 2013 Re: Stripe.net trying to charge a test card

    I resolved this problem and hope it helps someone else if they should find it.

    I needed to create a token of the credit card on the client side using the API. From there I attach the generated...
  2. VS 2013 Re: Stripe.net trying to charge a test card

    I'm reading the docs.

    They definitely changed the API as I've read from another source.

    This works here:




    Dim charge = New StripeCharge
  3. VS 2013 Re: Stripe.net trying to charge a test card

    I see, thanks.

    I think is part is fine in my code:



    Dim chargeOptions = New StripeCharge
    chargeOptions.Amount = lblPrice.Text * 100 'put into cents for Stripe
    ...
  4. VS 2013 Re: Stripe.net trying to charge a test card

    Thanks for looking into this. I think you are correct. I tried that approach.

    I wrote this old project in VB6 and then moved it to .net. I'm embarrassed to say that I don't know why, but I...
  5. VS 2013 [RESOLVED] Stripe.net trying to charge a test card

    I used stripe.net before to charge a credit card in a simple app I made. It was working okay, but I recently updated Stripe via NuGet. I then was warned to update my .net framework from 4.0 to 4.5....
  6. Advice/Logic on how to set up invoice page

    I am using php/mysql/jQuery to create a CMS for invoicing contacts.

    I'm well on my way.

    My db has a table to handle the various items that can be invoiced. My items table has a field called...
  7. Replies
    5
    Views
    17,591

    Re: jQuery/Bootstrap Datepicker issue

    Thanks for helping me.

    The modal form will be filled dynamically. So, how do I set the date if there's a date in the input, otherwise don't set the date and just use datepicker normally?

    I have...
  8. Replies
    5
    Views
    17,591

    jQuery/Bootstrap Datepicker issue

    I made a fiddle showing an issue I've been having. When a modal is shown, I am populating a field with a value. On shown, I'm actually querying mysql database and populating fields. The fiddle...
  9. Re: Load content into div and then use script

    Thanks. I'll work on adding a callback function. I modified and made the loadmore plugin myself based on an online tutorial.
  10. Load content into div and then use script

    I have a div and I'm loading content into it using jQuery:



    $(document).ready(function() {

    $('#json_comments').load('json_comments_content.php', function() {
    ...
  11. Re: After Validation Error, my Input Mask function doesn't work on field

    Well, I feel like a silly man.

    I can finally put this to bed now.

    It turns out (unbeknownst to me) that my project folder that contained all my assets (which included the input mask plugin)...
  12. Re: After Validation Error, my Input Mask function doesn't work on field

    Yeah, I'm using it now for all my phone numbers (with optional extensions) like this:

    $(".phone-mask").mask("(999) 999-9999 x99999");

    Working great so far.
  13. Re: After Validation Error, my Input Mask function doesn't work on field

    So, this drove me nuts, but I decided to scrap that particular input mask plugin and I tried this one:

    https://github.com/igorescobar/jQuery-Mask-Plugin

    I use it like this on document ready: ...
  14. Replies
    4
    Views
    1,760

    Re: When to create objects/classes

    That's great, thanks!
  15. Re: After Validation Error, my Input Mask function doesn't work on field

    Oh, I see. This is my first stab at ajax,but this jQuery input mask is driving me nuts.

    I need a way to keep that mask in the input box if the validation fails, right? I am confused as to why...
  16. Re: After Validation Error, my Input Mask function doesn't work on field

    I'm hoping what I did here is what you are looking for:



    invalidHandler: function (event, validator) { //display error alert on form submit
    ...
  17. Re: After Validation Error, my Input Mask function doesn't work on field

    Yeah it breaks there, but only if the validation passes.

    If I put a break at error.show in:



    invalidHandler: function (event, validator) { //display error alert on form submit ...
  18. Re: After Validation Error, my Input Mask function doesn't work on field

    Ajax is called from jQuery if the form validates properly. The ajax URL to process the data is: ajax_insert.php?table=contacts



    <?php
    require_once 'core/init.php';

    $user = new User();...
  19. Re: After Validation Error, my Input Mask function doesn't work on field

    If I set that breakpoint at the READY event, no it only breaks when the page first loads.

    I was trying to research others having the same problem before - it was hard to research.

    I am...
  20. Re: After Validation Error, my Input Mask function doesn't work on field

    I added a breakpoint to that line.

    It stops when the page first loads to apply the mask to the birthdate input. That's all.



    Not sure? I have a form with many input fields. I just showed...
  21. [RESOLVED] After Validation Error, my Input Mask function doesn't work on field

    I am using JQuery to successfully validate my form.

    I added an masked input to my birth date field in my form. The masked input plugin is from: https://github.com/RobinHerbots/jquery.inputmask
    ...
  22. Replies
    4
    Views
    1,760

    Re: When to create objects/classes

    Wow, that was very well said. Thank you.

    You clarified a lot of things by saying that.

    I never really looked at OOP as a group of 'common tasks' in a class. I can understand why that's so...
  23. Replies
    4
    Views
    1,760

    When to create objects/classes

    I'm learning OOP with PHP/MySQL.

    I'm creating a CMS. Well, re-creating it. My first attempt at learning PHP taught me all procedural coding, and I'm realizing the benefits of objects as I'm...
  24. Replies
    2
    Views
    1,109

    Re: How to Update PHP Object

    I see, thank you.

    That's actually what I came up with. I use jQuery to update the fields which are wrapped in a <span> class. That's working out nicely.

    I appreciate you taking the time to...
  25. Replies
    2
    Views
    1,109

    [RESOLVED] How to Update PHP Object

    I'm learning OOP with PHP/mySQL myself.

    I am creating my first classes and feel fairly confident with them.

    I am making a CMS for my work to manage contacts.

    I created a Contacts.php class...
  26. Replies
    3
    Views
    1,044

    Re: Using relative directory...

    I see. Thanks!

    Techgnome - based on my setup, I guess if I want to use relative paths, I have to keep my ajax call in my domain's main directory, not a folder.

    I am going to test changing...
  27. Replies
    3
    Views
    1,044

    Using relative directory...

    I'm creating a PHP/MySql content management site on a localhost server using XAMPP.

    Here's my directory structure:


    localhost
    MySite folder
    -index.php
    -anotherpage.php
    ...
  28. Replies
    4
    Views
    4,238

    Re: ClickOnce installer has stopped working

    Well, I used NuGet to download and implement Stripe credit card processing on a VB form. It's an API package for Stripe.com. It required and downloaded automatically another package that must...
  29. Replies
    4
    Views
    4,238

    Re: ClickOnce installer has stopped working

    Nope, that's cannot be possible. That computer has nothing else installed/running on it really.

    If I try to install it with .NET 4.5 already installed, then, yes, the same thing happens.
  30. Replies
    4
    Views
    4,238

    ClickOnce installer has stopped working

    I created a VB.net project in Visual Studio Express 2013.

    I am publishing the project to a folder on my computer's desktop (Windows 8). When I run the setup on this computer, the application will...
  31. Re: Applying 'open' class to menu based on page viewed

    Perfect! It's working great the way I did it. Saves some time coding php if statements for every list item. You should try it next time. I appreciate your advice.
  32. Re: Applying 'open' class to menu based on page viewed

    Based on your advice, each page that I create now has a variable created like this:


    <!--each page must have this javascript variable created to have the menu open classes applied. See jQuery...
  33. [RESOLVED] Applying 'open' class to menu based on page viewed

    I building a content management system using php/mySQL.

    I am creating a web template to create my pages easily.

    A new page has the following code based on my template:



    <?php...
  34. Insert a certain block of HTML from page into db

    Using PHP/Mysql.

    I have a CMS that will display a digital form for customers to sign. The form becomes a contract once signed, naturally. I do have a way that I can edit/update the original...
  35. Replies
    4
    Views
    15,402

    Re: Creating Clickable Line Chart

    Thank you for taking the time to get back to me. I appreciate it. I will have to look more into it. If I get anywhere with it, I'll have to post back.
  36. Replies
    4
    Views
    15,402

    Re: Creating Clickable Line Chart

    This is great. *

    Is there a way, do you think, to limit the line to be made: *can only click on x and y axis intersections? And only click from left to right, for instance?

    Do you have such...
  37. Replies
    4
    Views
    15,402

    Creating Clickable Line Chart

    Have been searching for a long time no try to find a clickable Jquery chart that does what I want.

    I really need to do two things.

    1. I need a chart that will allow me to graph a reverse...
  38. Re: [RESOLVED] Wireless Router Issue: Cannot Find Site All the Time

    Thanks, stanav. Even when I switched browsers, my page wasn't loading while connect to that wireless router. It would work magically after a little bit of time across all browsers. I just wait it...
  39. Re: Wireless Router Issue: Cannot Find Site All the Time

    Thanks for your advice.

    Unfortunately it's out of my control.

    Thanks again.
  40. Re: Wireless Router Issue: Cannot Find Site All the Time

    Yes it works on other sources.

    What router problem could it be? Any ideas?
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width