Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
ссылка в jstree (mvc)
|
|||
|---|---|---|---|
|
#18+
Скажите пожалуйста, как сделать ссылку href на ветке дерева в таком коде? Код: plaintext $("#demoTree").jstree({ "themes": { "theme": "default", "dots": true, "icons": false, "url": "/Scripts/themes/default/style.css" }, "json_data": { "ajax": { "async": true, "url": "/Home/GetDataAjax", "type": "POST", "data": function(n) { return { id: n.attr ? n.attr("id") : 0 } } } }, "plugins": ["themes", "json_data", "ui"] }).bind("select_node.jstree", function(event, data) { }); }); Заранее благодарен. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.03.2015, 09:29 |
|
||
|
ссылка в jstree (mvc)
|
|||
|---|---|---|---|
|
#18+
Учимся использовать тэги оформления кода - FAQ ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.03.2015, 10:08 |
|
||
|
ссылка в jstree (mvc)
|
|||
|---|---|---|---|
|
#18+
vah, Тынц Next we want to add some additional information(fields) about each object, so that we can operate on those fields. The additional information is stored as field "metadata". "metadata" is again an object containing key-value pairs for the additional information. So, the structure of "metadata" would be "metadata":{} Let's name the information we want to store as "href". Lets store the value for this key as the url(We need it for our example). For object having "data" as "Gmail", its "metadata" becomes "metadata":{"href":"www.gmail.com"} ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 06.03.2015, 11:21 |
|
||
|
|

start [/forum/topic.php?fid=18&msg=38896879&tid=1356662]: |
0ms |
get settings: |
11ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
41ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
| others: | 261ms |
| total: | 394ms |

| 0 / 0 |
