Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

infly32

Newbie
  
  • Posts

    3
  • Joined

  • Last visited

1 Follower

infly32's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. <form action="{{ action }}" method="post" enctype="multipart/form-data" class="form-horizontal"> <fieldset> <div class="required"> <label for="input-password">{{ entry_password }}</label> <input type="password" name="password" value="{{ password }}" placeholder="{{ entry_password }}" id="input-password" /> {% if error_password %} <div class="text-danger">{{ error_password }}</div> {% endif %} </div> <div class="required"> <label for="input-confirm">{{ entry_confirm }}</label> <input type="password" name="confirm" value="{{ confirm }}" placeholder="{{ entry_confirm }}" id="input-confirm" /> {% if error_confirm %} <div class="text-danger">{{ error_confirm }}</div> {% endif %} </div> </fieldset> <div class="buttons clearfix"> <input type="submit" value="Сохранить" class="mybtn" /> </div> </form> А можно как то через ajax передать то что что содержится в {{ action }} здесь путь на обработчик, он в переменной, могу я ее как то в скрипт записать?
  2. Добрый день, Подскажите, можно ли сделать так чтоб в личном кабинете пользователя при сохранении данных (например пароля, имени , почты, рассылки) не перезагружалась страница. Я перенесла все страницы с личного кабинета на одну страницу account. То есть то что было по разным страницам: изменение пароля, данных, рассылка, история заказа у меня теперь на одной. Сейчас все работает но страница перезагружается Нужно при нажатии на кнопку сохранить , страница не перезагружалась, а данные сохранялись, может как то на ajax
Guest
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.