Click here to Skip to main content
15,888,610 members
Home / Discussions / JavaScript
   

JavaScript

 
AnswerRe: regex help Pin
Kornfeld Eliyahu Peter18-Apr-15 21:36
professionalKornfeld Eliyahu Peter18-Apr-15 21:36 
GeneralRe: regex help Pin
Wombaticus18-Apr-15 22:45
Wombaticus18-Apr-15 22:45 
GeneralRe: regex help Pin
Kornfeld Eliyahu Peter18-Apr-15 22:51
professionalKornfeld Eliyahu Peter18-Apr-15 22:51 
GeneralRe: regex help Pin
Wombaticus18-Apr-15 23:01
Wombaticus18-Apr-15 23:01 
GeneralRe: regex help Pin
Kornfeld Eliyahu Peter18-Apr-15 23:07
professionalKornfeld Eliyahu Peter18-Apr-15 23:07 
AnswerRe: regex help Pin
Richard Deeming20-Apr-15 3:23
mveRichard Deeming20-Apr-15 3:23 
GeneralRe: regex help Pin
Wombaticus20-Apr-15 3:28
Wombaticus20-Apr-15 3:28 
QuestionTemplating systems, do we need them ? Pin
Mark C Lester17-Apr-15 22:15
Mark C Lester17-Apr-15 22:15 
We've got jQuery, if I want to put something somewhere I just go
HTML
<div id=a_field_name></div>
not quite as nice as
HTML
<% a_field_name %>
or even
HTML
{{a_field_name}}
but has the significant advantage of being in the DOM, and is trivial yet very flexible to assign.
i.e less proper code, and HTML is always orrible anyway. That's why we write templating systems, so we can give it to someone else, right ?.

With forms, the job is even easier, and the need for YATS even less clear. Why should you need to go
HTML
<input id=a_field_name value={{a_field_name}}>
when this is clearly sufficient
HTML
<input id=a_field_name>
and just as trivial as before to assign.

I also have lots of other stuff I need to do with forms, such as attaching the appropriate field handlers and selector widgets, things which should be implicit where possible but ideally can be overridden by the UI designer. I am thinking about reading my hibernate XML definition files, which I believe you can load into their own DOM and access with jquery, to decide on field length, and type and hence the handler, and "not null" etc.

There is a library here http://davestewart.io/plugins/jquery/jquery-populate/ but I am concerned that nothing has happened for 5 years. Are there any other libraries that populate, and read, form data and may be tackle assigning event handlers.
Questionhow we can change colors in table cells with time duration Pin
Member 1132187815-Apr-15 20:28
Member 1132187815-Apr-15 20:28 
QuestionUsing server side includes to retrieve Javascript Pin
Mark C Lester13-Apr-15 2:11
Mark C Lester13-Apr-15 2:11 
AnswerRe: Using server side includes to retrieve Javascript Pin
Mark C Lester14-Apr-15 0:58
Mark C Lester14-Apr-15 0:58 
AnswerRe: Using server side includes to retrieve Javascript Pin
Leng Vang2-Jul-15 9:58
Leng Vang2-Jul-15 9:58 
QuestionUnable to access popup forum Pin
Sudhir Varma10-Apr-15 19:53
Sudhir Varma10-Apr-15 19:53 
SuggestionRe: Unable to access popup forum Pin
ZurdoDev13-Apr-15 4:20
professionalZurdoDev13-Apr-15 4:20 
QuestionPassing parameter from javascript/AJAX to ASP.NET app Pin
AnkurBhardwaj7-Apr-15 23:29
AnkurBhardwaj7-Apr-15 23:29 
AnswerRe: Passing parameter from javascript/AJAX to ASP.NET app Pin
faizulhaque10-Apr-15 2:41
faizulhaque10-Apr-15 2:41 
Questionhow can we get a selected row value in grid using javascript Pin
Member 113218787-Apr-15 21:23
Member 113218787-Apr-15 21:23 
AnswerRe: how can we get a selected row value in grid using javascript Pin
RajeeshMenoth8-Apr-15 19:35
professionalRajeeshMenoth8-Apr-15 19:35 
Questionjavascript Pin
Member 113218787-Apr-15 19:50
Member 113218787-Apr-15 19:50 
AnswerRe: javascript Pin
Afzaal Ahmad Zeeshan7-Apr-15 22:38
professionalAfzaal Ahmad Zeeshan7-Apr-15 22:38 
AnswerRe: javascript Pin
Anurag Gandhi31-May-15 2:26
professionalAnurag Gandhi31-May-15 2:26 
QuestionHow to multiply layer colors in photoshop with javascript? Pin
Member 1155424825-Mar-15 1:53
Member 1155424825-Mar-15 1:53 
QuestionRefresh only particular Div without reloading whole page Pin
Member 1154215920-Mar-15 8:00
Member 1154215920-Mar-15 8:00 
AnswerRe: Refresh only particular Div without reloading whole page Pin
Richard Deeming20-Mar-15 8:23
mveRichard Deeming20-Mar-15 8:23 
GeneralRe: Refresh only particular Div without reloading whole page Pin
ZurdoDev24-Mar-15 10:04
professionalZurdoDev24-Mar-15 10:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.