L
L
Leopandro2016-02-23 21:31:08
Yii
Leopandro, 2016-02-23 21:31:08

Why does the framework do this?

Why did my id of some navigation bar (why does it need any kind of identifier) ​​coincided with the form id, I couldn’t understand for two hours why my validation scripts didn’t work. Who came up with the idea of ​​making IDs the same? I'm looking more and more towards laravel because of such garbage.
Moreover, the id was the same in three places =) navbar, div and form =))))

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikita, 2016-02-24
@bitver

1 - do you use ajax? Then everything is obvious.
2 - in order to avoid such incidents, assign your id

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question