HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Last Minute Development
From the way you ask the question I'd say you already know the answer =) CategoryID is the identification number of a category in the database. So if you want to do something as soon as a special category is chosen, you need to know the name or ID (ID couldn't be changed so this is to be preferred). For writing code in… -
Re: Last Minute Development
When you put this in a "fresh project" you run the script not in the scope of Vanilla. Vanilla first loads some scripts/libraries that need to exist in order that your script can be executed. Don't learn js by using Visual Studio! Get the basics with a simple html file that references a simple js file. If you create a… -
Re: Last Minute Development
Yes that's it. To be slightly more precise, you have to do it like so: prefixes[CategoryID]=['prefix name', 'prefix name', 'prefix name']; Be aware of category order number is not the category id since you can order the categories however you like. You can see CategoryID either in the database table GDN_Category or when… -
Re: Last Minute Development
Oh how I hate JavaScript... It took me some time but here are the things that have to be changed. $() != getEmentById() While getEmentById() would have returned one element, the jquery $() selector (var prefixSelect = $('#Form_Prefix');) returns a collection of a elements and you only need the first one. So you have to…
4 results