By clicking anchor tag in JavaScript, getting the value of anchor tag and I want to pass the value to the controller & lt; div class = form-actions & gt; & lt;% @ sitename.each do | REC | & Gt%; & Lt; An id = "& lt;% = rec.site%>" Data-rel = "tooltip" value = & lt;% = rec.site% & gt; "Title =" Total access in Bangalore "Square =" fine span2 top-block sri "href =" # "& gt; & lt; duration class =" icon32 icon-green icon-users "> & lt; div & gt; & lt;% = rec.site%> & lt; / div & gt; & lt; div id = "loading-indicator" style = "display: none; "gt; & lt;% = image_tag (" Peregrin-loader .gif ")%>
<% = rec.cnt %>
Today gt;% end%> & lt; / l & gt; & lt; / div & gt; & lt;! - Summary counter - END - & gt; & lt; / div & gt; & lt; script type = text \ JavaScript-> $ ('sri') live ('click', function () { var x = $ (this) .val (); alert x; & lt; / script & gt; The javascript code is not working, my question is that on the related button How to get anchor value while clicking (Click here button Meaning View Code Output: We get a separate class box If clicked on that box I need that value in a variable and I want to pass the controller) For example, the first button If I click on the Blur button I want that button value and if I click on the Poon button then I want the pin button value in a variable. Post Tex "Itemprop =" text ">
You can send values through the query string in anchor tag URL. But they can be viewed by others
or you can send via Javascript onclick event
pass the URL and parameters to the Javascript method and through this method Send.
Popular posts from this blog
I get the error every time, I try to compile. I'm not sure why anyone can help is? I'm new to verilog. Module D_FF (clerk, d, reset_n, q); Input D, Clack, reset_en; Output Q; reg Q; lab4_gdl f1 (.lk (~ clk), d (d), .q.m (qm)); lab4_GDL f2 (.Clk (Clk), D (QM), .Q (Q)); Always start at @ (posedge clk, neggeous reset_n) (Reset_n == 0) Q & lt; = 0; Other questions & lt; = D; Edit End: The problem is what we are asking to do: In this section, you apply the memory / registration circuit on the AlterEdie 2 board. will do. The circuit has the following specifications: The present value of swift SW15-0 on the D2 board should be shown in four hexadecimal four sections of HEX3-0. This part of the circuit will be combination logic. To use an active-less asynchronous reset and KEY1 to use KEY0 as the clock input, you must store SW15-0in in a 16-bit register in the value The register should be enabled to have a 16-bit positive edge, which uses the embedded D flip-flo
I use iReport 5.5.0 . How to align a barcode component to the center The relevant piece of my jrxml is below & Lt; JR: Code 128 xmlns: JR = "http://jasperreports.sourceforge.net/jasperreports/components" xsi: schemaLocation = "http://jasperreports.sourceforge.net/jasperreports/components http: //jasperreports.sourceforge Purge / xsd / components.xsd "textPosition =" bottom "& gt; & Lt; Jr: codeExpression & gt; & Lt; [CDATA [$ F {number}]] & gt; & Lt; / Jr: codeExpression & gt; & Lt; / Jr: Code 128 & gt; & Lt; / componentElement & gt; "Text" itemprop = "text"> Create a style after this, it is called "barcode", like: & lt; Style name = "barcode" fontName = "Helvetica" fONTSIZE = "10" hAlign = "center" valign = "center" /> and set the property of your barcode element to "barcode".
In brief, the wrapper module is inserted during posting and the status of an entry is changed to 'modified' . Before changing the state, the state is set to 'separate', but calling attachments () causes the same error to be thrown away. I am using EF 6. Model / wrapper class public class avi model {public A is a {get; Set; } Public listing & lt; B & gt; B {received; Set; } Public cc {receipt; Set; }} Administrator edit public functioning (int? id) {if (id == null) {new HttpStatusCodeResult (HttpStatusCode.BadRequest); } If (! Conveyor Access (id.Value)) new HTTPTitus code result (HTTP status code. Forbidden); Var aViewModel = new AViewModel (); aViewModel.A = db.As.Find (id); If (aViewModel.Receipt == zero) {return HttpNotFound (); } aViewModel.b = db.Bs.Where (x => x.aid == id.Value) .Oolist (); AViewModel.Vendor = db.Cs.Where (x => x.cid == aViewModel.a.cID) .FirstOrDefault (); See Return (aViewModel); } [HTPFost] [Valid AntitiferousTeacon
Comments
Post a Comment