<commit_before>jQuery.cascadeSelect
====================

jQuery plugin that enabled Cascading Select boxes.


Example:<br>
C#:<br>
public class SelectViewModel<br>
{<br>
       public string Value { get; set; }<br>
       public string Label { get; set; }<br>
}<br>


HTML:<br>
<select id='country' data-cascade="true" data-url="@Url.Action("Country", "Home")"></select><br>
<select id='city' data-cascade="true" data-url="@Url.Action("City", "Home")" data-parent="#country"></select><br>


Attributes:<br>
data-cascade: This was the only way I could think of making jQuery find all the cascading drop downs on the page.<br>
data-url: This is the url to the ajax request to get data.<br>
data-parent: This is the parent drop down, plain and simple.<br>
data-default-value: This sets the default value of the select box.<br>
data-selected-value: This sets the selected value of the select box.<br>
data-default-text: This sets the default text for when there is no item selected.<br>
data-method: This is for if you want to use something other than json, ie xml, script, or pure html.<br>
data-type: This would be either “POST” or “GET”, default being “GET”.<br><commit_msg>Updates README<commit_after>jQuery.cascadeSelect
====================

jQuery plugin that enabled Cascading Select boxes.


Example:
C#:
public class SelectViewModel
{
       public string Value { get; set; }
       public string Label { get; set; }
}


HTML:
<select id='country' data-cascade="true" data-url="@Url.Action("Country", "Home")"></select>
<select id='city' data-cascade="true" data-url="@Url.Action("City", "Home")" data-parent="#country"></select>


Attributes:
data-cascade: This was the only way I could think of making jQuery find all the cascading drop downs on the page.
data-url: This is the url to the ajax request to get data.
data-parent: This is the parent drop down, plain and simple.
data-default-value: This sets the default value of the select box.
data-selected-value: This sets the selected value of the select box.
data-default-text: This sets the default text for when there is no item selected.
data-method: This is for if you want to use something other than json, ie xml, script, or pure html.
data-type: This would be either “POST” or “GET”, default being “GET”.
{'fraction_non_alphanumeric': 0.13374395072591289, 'fraction_numerical': 0.0, 'mean_word_length': 4.685, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3643315', 'n_tokens_mistral': 677, 'n_tokens_neox': 653, 'n_words': 288}