We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See http://stackoverflow.com/q/28719020/19166
The text was updated successfully, but these errors were encountered:
a1ce104
Shouldn't this line selectedName = (typeof selected === "string") ? selected : "ft_" + this._id + "[]", rather be: selectedName = ( (typeof selected === "string") ? selected : "ft_" ) + this._id + "[]",
selectedName = (typeof selected === "string") ? selected : "ft_" + this._id + "[]",
selectedName = ( (typeof selected === "string") ? selected : "ft_" ) + this._id + "[]",
How else are you supposed to override the input name, keeping the id in it?
Sorry, something went wrong.
@pmishev , this call
tree.generateFormElements("cust_sel", "cust_act");
will generate markup like this:
<div id="fancytree_result_1" style="display: none;"> <input type="checkbox" name="cust_sel" value="10" checked="checked"> <input type="checkbox" name="cust_sel" value="10_1" checked="checked"> <input type="checkbox" name="cust_sel" value="10_1_1" checked="checked"> <input type="checkbox" name="cust_sel" value="10_1_2" checked="checked"> <input type="radio" name="cust_act" value="10_1" checked="checked"> </div>
I don't think there is a need to have separate names for it, since the checkboxes are identified by the value attributes.
name
value
No branches or pull requests
See http://stackoverflow.com/q/28719020/19166
The text was updated successfully, but these errors were encountered: