Jump to content

L8V2L

Members
  • Posts

    788
  • Joined

  • Last visited

Posts posted by L8V2L

  1. thank u again for another reply.but i understood only a less. with that less idea, i read the console logging (with alerts) this - ------------------------------------------- this is the log on the console------------------------------------------- Not found! : 31 truthy value : 29 0 : 29 Not found! 0 : 31 undefined : 29 Not found! undefined : 31 null : 29 Not found! null : 31 but what i wonder is all alerts are happening just after page loads. it doesn't wait for me to try some characters in the autocomplete field... :(

    Do you have
    findValue();
    any where in the page? This will cause an invoke of it by the page.I really don't know what else to tell you but to go to this page: http://www.w3schools.com/ajax/ajax_aspphp.aspSadly I'm still a beginner myself.
  2. From what I can tell

    var nul = null;//nullvar nu0;//undefinedvar num = 0;var t = "truthy value";var f = "";  function findValue(li) {  var sValue;        console.log(li);  	if( !li ){ console.log("Not Found!" + " " + li); alert("Not Found!" + " " + li);}  	else if( !!li.extra ){ var sValue = li.extra[0];        }        else{ var sValue = li.selectValue;        } // console.log(sValue);  }findValue(f);findValue(t);findValue(num);findValue(nu0);//errorfindValue(nul);//error/*  function findValue(li) {        console.log(li);  	if( li == null ){ return alert("Not Found!");}  	if( !!li.extra ){ var sValue = li.extra[0];      }        else{ var sValue = li.selectValue;}  *//*  function findValue(li) {  var sValue;        console.log(li);  	if( li==null||undefined){ return(alert("Not Found!"));}  	else if( !!li.extra ){ var sValue = li.extra[0];        }        else{ var sValue = li.selectValue;        }  console.log(sValue);  }*//*  function findValue(li) {        console.log(li);  	if( li == null ){ return alert("Not Found!");}  	if( !!li.extra ){ var sValue = li.extra[0];      }        else{ var sValue = li.selectValue;}  */
    Initialize it with a empty string In php if it don't have a value on return period.Make sure you have your console open. I'm on my phone looking over this in a emulator.And you did look at the code I gave you properly; take out the invoke findValue(); part.Then try it again with that code.If don't work, edit this one to be put in place of that one.
  3. it is alerting "Not Found!" only when the page loads. but not if there is no match :( /////////////////////////////////////////// its still the same....

    Give me the value in the variable to work with, so I can imitate what you are trying to do.
  4. This is the webpage? http://www.dittodc.com/ The visuals do not work for me at all, with FF30 and my flash-blocker. All I can hear is the narrative with the screen essentially black. The ended event seem to be available to do whatever you want when the video completes. I don't understand what you mean by "cheap."

    He must be saying to him the way it cut back to the image is cheap.What if you fade back to the image as the video is finishing?Or... If it's your video, have an ending scene fading to the image and then cut back to the picture.And even if it's not your video, downloaf and do so.Your the direct of this. Do what ever you wish.
  5.  

      function findValue(li) {  	if( li == null )	console.log(findValue(li));	return alert("Not Found!");  	if( !!li.extra ) var sValue = li.extra[0];  	else var sValue = li.selectValue;  }
    still nothing.... :(
    Try this:
    "use strict";function findValue(li) {"use strict";  var result;  var sValue;    if( li == null ){       //result = (findValue(li)); //<= stack limite reach    alert("Not Found!");     }  else if( !!li.extra ){    sValue = li.extra[0];   result = sValue;  }  else{     sValue = li.selectValue;     result = sValue;}  return(result);}findValue(); // alert => Not Found!
  6. You can defind a default namespace by xmlns="uri"Yes, attribute, child element, and even halfway through the document can have different namespace.I myself is below novice rank in this art, but am constantly studying.Read up on namespace, the Internet is full of resoruce. Tutorials are good for getting your feet wet, but that's all it's good for.

  7. A xml book that is straight forward, have example for each subject and explain clearly.Do anyone know of any great books on xml.

  8. If anyone cares to give you a helpful response, they will do so regardless of where your question is. Notwithstanding the fact that you're asking about XML books in a Javascript thread that doesn't have anything to do with XML.

    No one be in the xml thread.... But I'll try.
  9. Uhh.. not really. I have a job you know, I'm not just sitting here posting on a forum all day. If you have specific questions I can try to address them. I'm not going to sit here and type out an entire tutorial though.

    x-p <== addresses that!
  10. Uh Well...Currently learnt HTML5,CSS..learning Jquery...Its just I will learn anything which will help me in future for getting a job ..

    JSG is giving you some great resource, but if you had or have your heart out to learn CSS and HTML, then do so. Those language are the structure of the web(in my opinion) programming isn't just a skill to learn(it's a life style to live by( in my opinion). More so I see it as a community of different sub-communities standing behind different language helping each other. I came into this world blind on the language I should learn, so far I am happy with what I choices. Follow your sense, the language(in my opinion) imitate the programmer persona. Etc, etc , etc. have fun learning.
  11. More so you'll have to help yourself. We'll help when can, but we're not going to hold your hand. There are many books you could read, if you have a question post it. But other than that, when it come to programming it's more of a self taught process. But like I said, if you have a question, ask in one of the appropriate forum's topic area.So fellow novice, what sorcery language/languages are you learn, or aiming to learn?

  12. JSG, could you give me your knowledge on prototype and constructor function?I have question, but it's more of a discussion then a straight out asking manner.If anyone would like to do the same Davej, and the others, you are more than welcome to do so.

  13. Thanks, I am quit surprised that no one has used JAXB to readin inclusions :aggressive: what do people use? Or just don't have inclusions?

    I really don't know. I see this all as wizardry; I myself is aiming to be a master wizard at JavaScript, and knowledgable in the sorcery art of html, css, xml and the likes.So I don't know much at all about sax and only read in passing of it.If you could detail all languages you are sorcerying in, I can have a better ideal of what to tell you, or how to help/guide you.
  14. You can't create a new attribute and have it automatically treated as an event handler without writing all of the code to monitor elements and set up those handlers. Ideally, if you are creating event handlers then you use Javascript to attach those events instead of putting them in HTML attributes. You can create custom events and manually dispatch them on specific elements.http://www.sitepoint.com/javascript-custom-events/

    Thanks for the link! :-) I like your post for two reason. One, is to show my appreciation. And two is in the hope of this forums allowing it's user to browse by likes. So I can reference this again.
  15. And if you're like me(refer to signature that will refer you to picture) you can exclude yourself from the world, and as they said, obsess over programming.

  16. XPath and xQuery, more example please. I feel this site is great for creating your feet wet as stated many times. Even if. Some of(mostly all) the example are mimic from books(most online tutorial are.) w3s have a nice simplicity of presentation.Please!!!!!! You guys don't have to do a good tutorial on nodejs or mongodb, just an introduction would be nice with a few example. Please!!!! Get a portion of the tutorial from the sites themselves and transform them into w3s style. Please!!!!! Code academy teach other language. Please!!!!!!Finally... What is this: What is this: w3ctutorialCan someone explain to me what is this?

×
×
  • Create New...