Skip to content
New issue

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

getValue is returning HTML Document #83

Open
sbilgil opened this issue Aug 31, 2018 · 0 comments
Open

getValue is returning HTML Document #83

sbilgil opened this issue Aug 31, 2018 · 0 comments

Comments

@sbilgil
Copy link

sbilgil commented Aug 31, 2018

I have a project which i created HTML tags in JS.
var bodyHTML= "<div class='horizantalLine'></div>" + "<div class='dateInput'>" + " <div class='minDate'>" + " <span id='minDateLabel'> Dönem Başlangıç </span>" + " <input id='mindate' data-format='DD-MM-YYYY' data-template='D MMM YYYY' name='date' value='31-08-2018' type='text'>" + " </div>" + /* " <div class='maxDate'>" + " <span id='maxDateLabel'> Dönem Bitiş </span>" + " <input id='maxdate' data-format='DD-MM-YYYY' data-template='D MMM YYYY' name='date' value='31-08-2018' type='text'>" + " </div>" + */"</div>" $(".columnlist").append(bodyHTML)
and in another funcction i am trying to getValue but it returns me HTML Document Object instead of moment or datetime object:
`var minDate=$('#minDate').combodate('getValue',null)

console.log('mindate:', minDate)`

what can be the wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant