Posts

javascript - Jquery Dialog Box - to open when clicked a hyperlink -

i have jquery datatable 1 column's each cell has hyperlink <a href = "...../path/?id=1234" > 1234 </a> <a href = "...../path/?id=1235" > 1235 </a> <a href = "...../path/?id=1236" > 1236 </a> they cells of column in jquery datatable. now, want open link in jquery dialog plus i new javascript please tell me if have <a href = "...../path/?id=1234" > 1234 </a> id =1234 value in href tag stored in variable have further run django queries using " id " value just add class links, , handle click event. instance: <a href = "...../path/?id=1234" class="dialog-link"> 1234 </a> <a href = "...../path/?id=1235" class="dialog-link"> 1235 </a> <a href = "...../path/?id=1236" class="dialog-link"> 1236 </a> this jquery code (make sure it's after 'document(ready)`.) $...

php - ID is not showing in Edit Form Action -

i not able see id value in action of controller in edit form. showing somthing this.. <form action="/xxproj/userpages/edit" class="form-horizontal" id="userpageeditform" enctype="multipart/form-data" method="post" accept-charset="utf-8"><div style="display:none;"><input type="hidden" name="_method" value="post"/></div> and here controller function.. <?php error_reporting(0); class userpagescontroller extends appcontroller { public $helpers = array("html", "form","session"); public $uses = array('userpage','usergroup'); public function index() { } public function edit($id = null) { $this->userpage->id = $id; $this->set("userpages", $this->userpage->read()); pr($this->userpage->read()); if ($this->request->is("get")) { ...

xslt - I need to remove dupilciate element that matches exactly -

i have input xml follows. target remove duplicate elements matches 1 another. input xml <namespaces> <namespace prefix="dc">http://purl.org/dc/elements/1.1/</namespace> <namespace prefix="gz">http://www.tso.co.uk/assets/namespace/gazette</namespace> <namespace prefix="xsl">http://www.w3.org/1999/xsl/transform</namespace> <namespace prefix="atom">http://www.w3.org/2005/atom</namespace> <namespace prefix="xd">http://www.oxygenxml.com/ns/doc/xsl</namespace> <namespace prefix="xs">http://www.w3.org/2001/xmlschema</namespace> <namespace prefix="xhtml">http://www.w3.org/1999/xhtml</namespace> <namespace prefix="atom">http://www.w3.org/2005/atom</namespace> <namespace prefix="xd">http://www.oxygenxml.com/ns/doc/xsl</namespace> <namespace prefix="xs">http://www.w3.org/...

sql - Search sorting inSQL -

i have 4 columns (lastname, firstname, title, city) in table (mssql2008). want display search results in way if search word matches in full should come first other results column. example if have following table lastname firstname title city kirk yang sales rep seattle fuller andrew vice pred tacoma leverling janet sales rep kirkland peacock margaret sales rep redmond jacob kirk sales mag london suyama michael sales rep london king robert sales rep london callahan laura sales cord seattle david kirkpatrk sales rep london and if search kirk result should be: lastname firstname title city kirk yang sales rep seattle jacob kirk sales mag london leverling janet sales rep kirkland david kirkpatrk sales rep london edit: using union select results (naive, guess), tired case unable de...

c# - Transfer the Winform Textbox data to Html Textbox -

i trying implent send data windows form text box control html text box, scenario: windows form in c# having various textbox control , 1 submit button while click on botton textbox data transfer html tetxtboxes. (i dont want use query string etc) my html code <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>test application</title> <script type="text/javascript" language="javascript"> window.onload = body_onload; function body_onload() { document.getelementbyid("txtfirstname").focus(); } </script> </head> <body> first name: <input type="text" id="txtfirstname" /><br /> last name: <input type="text" id="txtlastname" /...

Facebook like button not displaying og:description -

i have created button on website, http://www.divecerts.com . screen shots of problem found @ http://www.divecerts.com/screen.html the top screenshot shows button being pressed fb popup , correctly scraped information. bottom screenshot shows actual post looks on facebook. there can see correct except descrition blank. i have cleared cache @ using facebook debug tool (linter) few times no luck on solving problem. debugger shows description fine not show on facebook post. have tried viewing/liking different facebook accounts on different computers using different browsers same results. here meta code <head> <meta property="og:title" content="divecerts.com | diver certification record search" /> <meta property="og:description" content="search scuba diving certifications records major training agencies in 1 click."/> <meta property="og:url" content="http://www.divecerts.com" /...

Android - Trouble importing SlidingMenu library - SHA-1 Mismatch -

okay i'm close throwing computer out of window. head boiling rage lol im trying import slidingmenu lib brand new project. error: sha-1 mismatch. after lot of digging, found need have 1 android-support-v4.jar file in libs folder. that's fine except... which android-support-v4.jar suppose delete? 1 in project or 1 inside slidingmenu library? and where suppose add external jar ? project or slidingmenu library? thanks you can add both have match in terms of version. pick updated version , replace in respective lib folder. both android-support-v4.jar have same version, otherwise have conflict.