Click here to Skip to main content
15,894,405 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Reading a byte array without filestream Pin
indian14325-Apr-12 12:31
indian14325-Apr-12 12:31 
GeneralRe: Reading a byte array without filestream Pin
indian14325-Apr-12 14:21
indian14325-Apr-12 14:21 
QuestionJavascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 4:58
Member 888314725-Apr-12 4:58 
AnswerRe: Javascript problem in ASP.NET Page Pin
Ali Al Omairi(Abu AlHassan)25-Apr-12 5:16
professionalAli Al Omairi(Abu AlHassan)25-Apr-12 5:16 
GeneralRe: Javascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 6:29
Member 888314725-Apr-12 6:29 
GeneralRe: Javascript problem in ASP.NET Page Pin
jkirkerx25-Apr-12 7:28
professionaljkirkerx25-Apr-12 7:28 
GeneralRe: Javascript problem in ASP.NET Page Pin
Not Active25-Apr-12 7:38
mentorNot Active25-Apr-12 7:38 
GeneralRe: Javascript problem in ASP.NET Page Pin
jkirkerx25-Apr-12 9:04
professionaljkirkerx25-Apr-12 9:04 
I'm am aware of that, and yes it is container specific, for the server will generate the same id codes based on the container(s) the object resides in. I just didn't want to get to technical on the subject and the poster to further confuse him/her and tried to keep it as simple as possible. But the advice teaches the poster to look at the HTML sent to the browser when in doubt, and to not assume anything with Javascript or Jquery.

Today, I would use JQuery to get the element of the object target. So for him in Jquery, I would use a wild card like below. I don't remember what the name of the object was.
Mark Nischalke wrote:
The latter will find the element with an id attribute that has a value ending in the specified value

I quite sure the id$='element_id' ($)sign will be a required prefix of $, and you have to use the * wildcard for any prefix regardless of length, and long as the suffix matches. I would have to do a fact check on that to be absolutely sure.
var currentSecond;
currentSecond = $('[id*="_txtSecond"]').val();

For the poster of the discussion, get it to work first so you better understand why it didn't work, and before you decide to dive into JQuery, take a step back and learn JQuery first, you can't just plug jquery in and go, it's got a learning curve to get good at it.
GeneralRe: Javascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 7:39
Member 888314725-Apr-12 7:39 
GeneralRe: Javascript problem in ASP.NET Page Pin
jkirkerx25-Apr-12 9:05
professionaljkirkerx25-Apr-12 9:05 
GeneralRe: Javascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 20:38
Member 888314725-Apr-12 20:38 
GeneralRe: Javascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 20:52
Member 888314725-Apr-12 20:52 
GeneralRe: Javascript problem in ASP.NET Page Pin
Ali Al Omairi(Abu AlHassan)25-Apr-12 20:19
professionalAli Al Omairi(Abu AlHassan)25-Apr-12 20:19 
GeneralRe: Javascript problem in ASP.NET Page Pin
Member 888314725-Apr-12 21:13
Member 888314725-Apr-12 21:13 
AnswerRe: Javascript problem in ASP.NET Page Pin
Not Active25-Apr-12 7:32
mentorNot Active25-Apr-12 7:32 
QuestionHOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
Olanrewaju Matthew25-Apr-12 2:18
professionalOlanrewaju Matthew25-Apr-12 2:18 
AnswerRe: HOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
Not Active25-Apr-12 4:04
mentorNot Active25-Apr-12 4:04 
AnswerRe: HOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
jkirkerx25-Apr-12 7:23
professionaljkirkerx25-Apr-12 7:23 
GeneralRe: HOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
Olanrewaju Matthew27-Apr-12 1:41
professionalOlanrewaju Matthew27-Apr-12 1:41 
JokeRe: HOW TO CREATE DOWNLOADABLE XML FORM FOR USER FEEDBACK Pin
jkirkerx27-Apr-12 7:09
professionaljkirkerx27-Apr-12 7:09 
QuestionSql updating using Visual studio 2005 and retrieving back the same Pin
Paulus Kerketta24-Apr-12 16:46
Paulus Kerketta24-Apr-12 16:46 
AnswerRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
jkirkerx24-Apr-12 18:03
professionaljkirkerx24-Apr-12 18:03 
GeneralRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
mithoncs@8824-Apr-12 20:49
mithoncs@8824-Apr-12 20:49 
GeneralRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
Paulus Kerketta25-Apr-12 2:40
Paulus Kerketta25-Apr-12 2:40 
GeneralRe: Sql updating using Visual studio 2005 and retrieving back the same Pin
jkirkerx25-Apr-12 6:19
professionaljkirkerx25-Apr-12 6:19 

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.