I am working on laravel project with use of node.js in selectize.js.
Everything is running on Firefox Browser. but in chrome browser selectize functionality not work.
script.js
var a = t.community,
n = t.communityUsers;
e("#timezone").removeAttr("selected"), e("#community").attr("action", baseUrl + "/communities/" + a.id), e(".community-update").attr("id", "community-update"),e(".community_form").attr("id", "community_form"), e("#name").val(a.name), e("#address_line_1").val(a.address_line_1), e("#address_line_2").val(a.address_line_2), e("#city").val(a.city), e("#state").val(a.state), e("#zip").val(a.zip), e("#director_email").val(a.director_email), e("#phone").val(a.phone), e("#website").val(a.website);
if(parseInt(a.rcfe) == 0) {
e("#rcfe").val('');
} else {
e("#rcfe").val(a.rcfe);
}
var t = e(this).val();
return e("#select2-community_users-container").text("Select Community user"), "undefined" == typeof t || "" == t ? (e("#clear-form").click(), e("#community_form").hide(), e("#community_user_div").hide(), e("#community_user_form").hide(), !1) : (e("#community_id").val(t), e("#community_form").show(), e("#flash-message").hide(), e("#timezone-button").css("width", "388"), e("#community_user_div").show(), e("#community_user_form").hide(), void e.ajax({
url: baseUrl + "/communities/" + t,
type: "GET",
success: function(e) {
v(e),
window.location.reload(0),
emailSelectize('.director_email', t.director_email)
}
resident.js
$(document).ready(function() {
$('#resident_form #receivers_email, #prospects_email,#community_form #director_email').selectize({
plugins: ['remove_button'],
persist: false,
maxItems: null,
valueField: 'email',
labelField: 'name',
searchField: ['name', 'email'],
render: {
I am working on laravel project with use of node.js in selectize.js.
Everything is running on Firefox Browser. but in chrome browser selectize functionality not work.
community.blade.php
<div class="form-group">
{!! Form::text('director_email',
null,
array(
'placeholder'=>'Director Email',
'id'=> 'director_email'))
!!}
</div>
I am working on laravel project with use of node.js in selectize.js.
Everything is running on Firefox Browser. but in chrome browser selectize functionality not work.
I am working on laravel project with use of node.js in selectize.js.
Everything is running on Firefox Browser. but in chrome browser selectize functionality not work.
I am working on laravel project with use of node.js in selectize.js.
Everything is running on Firefox Browser. but in chrome browser selectize functionality not work.
I am working on laravel project with use of node.js in selectize.js. Everything is running on Firefox Browser. but in chrome browser selectize functionality not work.
I am working on laravel project with use of node.js in selectize.js. Everything is running on Firefox Browser. but in chrome browser selectize functionality not work.
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2KM4vwQ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire