Uncategorized

git commands

review all codes before commit (you must remove test codes) add commit every minute if you can git clone git push origin اسم البرانش git pull origin اسم البرانش git config –global تغيير المستخدم والايميل git config –global user.name “الاسم الجديد” git config –global user.email “” git checkout اسم البرانش git commit -m “رسالة الكوميت”… Continue reading git commands

Uncategorized

Get URL and URL Parts in JavaScript

JavaScript can access the current URL in parts. For this URL: http://css-tricks.com/example/index.html window.location.protocol = “http” window.location.host = “css-tricks.com” window.location.pathname = “example/index.html” So to get the full URL path in JavaScript: If you need to breath up the pathname, for example a URL like http://css-tricks.com/blah/blah/blah/index.html, you can split the string on “/” characters Then access the… Continue reading Get URL and URL Parts in JavaScript

Uncategorized

auto compelete combobox nested

http://www.learningjquery.com/2010/06/a-jquery-ui-combobox-under-the-hood   by Jörn Zaefferer Update on 2010-08-17: This article was updated to reflect the changes to the combobox code in jQuery UI 1.8.4The jQuery UI 1.8 release brings along the new autocomplete widget. An autocomplete adds a list of suggestions to an input field, displayed and filtered while the user is typing. This could be attached to a search… Continue reading auto compelete combobox nested