Javascript questions... What Is The Best Option?

4 replies
Alright guys

I have spoken to my different coder and they tell me that I should use some sort of java/javascript...

I am using a membership script. I would like to modify the add categories page.. At the moment it only allows me to do create a main category.. I would like to change this to be able to add sub categories..

I have create the extra tables on my db.. But now I need to know how to link them together and what javascript script would you recommend...??
#javascript #option #questions
  • Profile picture of the author wayfarer
    JavaScript cannot communicate with your database directly. Instead, JavaScript needs a proxy, a server side script to communicate with via AJAX calls.

    To be honest, you're not giving us enough information to go on. Your description is rather vague from a technical point of view, and I'm not sure I understand what your goals are or how to accomplish it since I don't know anything about the nature of your code.
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[1819632].message }}
    • Profile picture of the author Byron_Wells
      Originally Posted by wayfarer View Post

      JavaScript cannot communicate with your database directly. Instead, JavaScript needs a proxy, a server side script to communicate with via AJAX calls.

      To be honest, you're not giving us enough information to go on. Your description is rather vague from a technical point of view, and I'm not sure I understand what your goals are or how to accomplish it since I don't know anything about the nature of your code.

      How do you want to see my code then please??
      {{ DiscussionBoard.errors[1819674].message }}
  • Profile picture of the author wayfarer
    It really just depends on how much of the script you understand. If it is a complicated membership script and you really don't know what is going on with it, you're probably better off just hiring someone to modify it for you.

    If you can find the relevant part of the code as you understand it, we might be able to help you. If it is a lot of work, it is probably outside the scope of a typical forum thread though.

    What did the coder you spoke to say that JavaScript was needed in reference to?
    Signature
    I build web things, server things. I help build the startup Veenome. | Remote Programming Jobs
    {{ DiscussionBoard.errors[1819730].message }}
    • Profile picture of the author Byron_Wells
      Originally Posted by wayfarer View Post

      It really just depends on how much of the script you understand. If it is a complicated membership script and you really don't know what is going on with it, you're probably better off just hiring someone to modify it for you.

      If you can find the relevant part of the code as you understand it, we might be able to help you. If it is a lot of work, it is probably outside the scope of a typical forum thread though.

      What did the coder you spoke to say that JavaScript was needed in reference to?

      I thought I already had said Let me just go through it again.. Right the orginal format for my membership script only allows me to add a main category..

      I would like this to be changed so that I can add sub categories to it.. So that I have this format...

      2010 (main)
      mar (sub)
      feb (sub)
      and so on

      I have been told to do that... I will need to create one table on the db to store all the sub categories information in it.. Then another table so that I can track the sub categories... The reason for the second table is because I would like to add a product to mutliple categories..

      I then ask certain coders on rentacoder to write me some sort of code that links it all together, so that sub categories and main categories works together as they as suppose to.. That is when javascript was mention
      {{ DiscussionBoard.errors[1819760].message }}

Trending Topics