Search Results - VBForums

Search:

Type: Posts; User: chris.cavage

Page 1 of 13 1 2 3 4

Search: Search took 0.04 seconds.

  1. 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.
  2. 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() {
    ...
  3. 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)...
  4. 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.
  5. 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: ...
  6. Replies
    4
    Views
    708

    Re: When to create objects/classes

    That's great, thanks!
  7. 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...
  8. 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
    ...
  9. 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 ...
  10. 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();...
  11. 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...
  12. 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...
  13. [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
    ...
  14. Replies
    4
    Views
    708

    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...
  15. Replies
    4
    Views
    708

    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...
  16. Replies
    2
    Views
    494

    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...
  17. Replies
    2
    Views
    494

    [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...
  18. Replies
    3
    Views
    516

    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...
  19. Replies
    3
    Views
    516

    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
    ...
  20. 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...
  21. 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.
  22. 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...
  23. 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.
  24. 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...
  25. [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...
  26. 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...
  27. Replies
    4
    Views
    3,091

    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.
  28. Replies
    4
    Views
    3,091

    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...
  29. Replies
    4
    Views
    3,091

    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...
  30. 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...
  31. Re: Wireless Router Issue: Cannot Find Site All the Time

    Thanks for your advice.

    Unfortunately it's out of my control.

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

    Yes it works on other sources.

    What router problem could it be? Any ideas?
  33. [RESOLVED] Wireless Router Issue: Cannot Find Site All the Time

    I lease space from a doctor's office to work.

    They recently got wireless internet for their patients. I was told I could login to the public wireless router using their password without a...
  34. Re: Validation Class: Trying to Work Our Custom Message

    Got it!!


    case 'matches':
    if ($value != $source[$rule_value]) {
    $this->addError("{$items[$rule_value]['name']} must match {$rules['name']}.");
    }
    break;
  35. Re: Validation Class: Trying to Work Our Custom Message

    The "Second password" and "First password" texts come from register.php.... you can see I addded a 'name' key to the array. I'm trying to pull that to use in the error.

    I'll have to mess around...
  36. Re: Validation Class: Trying to Work Our Custom Message

    Good idea but I'll have other fields use the match validation... like captcha.
  37. [RESOLVED] Validation Class: Trying to Work Our Custom Message

    I'm new to OOP....

    Here's part of my register.php that has a form for user registration...



    If(Input::exists()) {
    $validate = new Validate;
    $validation = $validate->check($_POST, array(...
  38. Re: One PHP page that handles many functions: AJAX, PHP, jQuery

    Thanks, techgnome. Since your post, I've been trying to learn OOP! I think that's my best option.
  39. Re: One PHP page that handles many functions: AJAX, PHP, jQuery

    Thank you for taking the time to respond. Since I've posted, I found some great YouTube tutorials on the subject.

    All of them reference an outside javascript file that uses ajax to process a given...
  40. One PHP page that handles many functions: AJAX, PHP, jQuery

    Been a long time since I've posted...

    I plan on redoing a CMS I built using PHP/MySQL.

    This time around I want to employ jQuery and AJAX.

    Just a simple question to start....

    It was once...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width