• Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching main-loop

    To begin with, I'm a noob to JavaScript. How do I add functionality to the main loop, or something similar?
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in main-loop

    I think this can help you: https://css-tricks.com/capturing-all-events/ But if you're really a noob in JavaScript, you should first learn how JS works before trying to do those "hardcore stuff".
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Find CSS URLs within a webpage

    Hi darren, can you be a little more specific? What vars are undefined/null? What browser are you using? Anyway, you should check if `cssSheets`, `rules`, and `rule` are defined. I …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching Find CSS URLs within a webpage

    Hi, does anyone know how I could search for the protocol used in CSS? I did try use "document.querySelectorAll" but failed to get it working. So basically I am trying …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Find CSS URLs within a webpage

    You can do it by seaching rules inside the css sheets. I took some time to play with this: <html> <style type="text/css"> body { background: "#F00"; background-image: url(http:\\teste.png); color: #FFF; …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Words and phrases I wish people would stop using.

    But you see Jim, unsupported by facts is very far from "junk". Isn't it? When Galileu said that the Earth moved arround the sun(and not the other way arround) it …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching C# retrieve data from one table and store in another table

    I am trying to store a value from a selected row from one table into another. My code is as follows. string CustomerID = textBox1.Text; SqlConnection con1 = new SqlConnection(ConfigurationManager.ConnectionStrings["ConString"].ConnectionString); …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in C# retrieve data from one table and store in another table

    First of all, if you have an CustomerId, you should use `equals` instead of `like`. If you use Like you can ending with the wrong customer. Like this: WHERE (CustomerID …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching Words and phrases I wish people would stop using.

    There are certain words and phrases that drive me absolutely bat-shit crazy. Some have been around for decades and others are relatively new. "It is what it is". Not the …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Words and phrases I wish people would stop using.

    "It doesn't matter, the customer wants like this!" - This drives me crazy! I just disagree with the "Alternative"... In many contexts alternative is just used to distinguish from the …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Gave Reputation to Ana_4 in PLEASE SHOW ME C++ CODE

    Create a program that calculates and displays the average price stored in the file. Display the average with a dollar sign and two decimal places.
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Ajax request based on other ajax response

    What happens when you change the selected value on izvestajSelect? Does it call the ajaxIzvestaj function?
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Ajax request based on other ajax response

    If you want to pass the result of the first ajax to the second, you should do something like: xmlhttp.onreadystatechange = function () { if (xmlhttp.readyState == 4 && xmlhttp.status …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching Ajax request based on other ajax response

    Hey guys, I am having problem for some time, and can't figure it out by myself I have code like this html page with select options which execute javascript function …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Ajax request based on other ajax response

    Hi filipgothic, when you get the result from the first request, just call the second one, simple as this: xmlhttp.onreadystatechange = function () { if (xmlhttp.readyState == 4 && xmlhttp.status …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Cant keep checkboxes checked on refresh

    I really didn't understand how you got it to work, but I'm glad you did =)
  • Member Avatar for AleMonteiro
    AleMonteiro

    Gave Reputation to bijutoha in Is Google 21st Algorithm Update Risk for Non Responsive Website?

    Finally, This update has brought these.. 1.Affects only search rankings on mobile devices 2.Affects search results in all languages globally 3.Applies to individual pages, not entire websites [Google Webmaster Central …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Marked Solved Status for Auto-Complete search with related tables

    Hello guys, I'm in need of some thinking help. I want to build an auto-complete text input to find cars, but I want it to search for Car Models and …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching How to Upload Torrents with PHP Upload Script?

    Would it be inserting this as a type? 'application/x_bittorrent' or is there more to it to allow torrent uploads?
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in How to Upload Torrents with PHP Upload Script?

    The correct MIME type is application/x-bittorrent http://x-bittorrent.mime-application.com/
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Dynamically created table rows disappearing on post-back

    Oh, sorry, I forgot this thread... did you fix the problem? And I was wrong... ViewState only store the values for the dynamic controls, but it does not regenerate those …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Prototypal Inheritance

    Glad you like it ^^ I had a few JS pages for testing performance of loops and closures that I'd like to share... but I can't find them! =x I'm …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Need Form validation help

    You're welcome. Just mark as solved if it is =)
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching space & &nbsp; not displaying in some iOS devices

    I've had two users request that we add a space between their first and last names as displayed in a table. Problem is: there is a space. Common denominator is …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in space & &nbsp; not displaying in some iOS devices

    It's hard to solve a problem that you can't see for your self. Each time you try some fix you ask your users to test it for you? I'd suggest …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching Best Anti virus for my PC

    Tell me the best antivirus that protect my PC from malware issues and keep secure all the data that i have in my computer.
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Best Anti virus for my PC

    None! I use Windows as my main SO and I gave up AV more than 5 years, ago and I only had one problem with malware because I plugged in …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching How to insert dynamically generated HTML elements to mysql database

    I have website that enables user to select favourite websites, date of visiting the website, comments like how satisfied with the website they visited on that day. Initially there are …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in How to insert dynamically generated HTML elements to mysql database

    Your difficulty seems to be on the DataBase Schema, am I right? If so, you should post your DB tables.
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Deleting rows from Datagrid in ASP.Net

    If you just need to redirect, just use `Response.Redirect`, like: protected void DataGrid1_EditCommand(object source, DataGridCommandEventArgs e) { DataGrid1.EditItemIndex = e.Item.ItemIndex; Response.Redirect("MyPage.aspx?index=" + e.Item.ItemIndex); }
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Cant keep checkboxes checked on refresh

    berserk, take a deep breathe and debug the code! You need to understand where it fails so you can figure out how to fix it. First of all, when you …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Cant keep checkboxes checked on refresh

    Did you check the console for errors? You need to have the references for jQuery and jQuery.cookie.
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Cant keep checkboxes checked on refresh

    You're missing the call for repopulateCheckboxes(); Try like this: // only code to be executed on page load goes inside here, functions are better left outside so it can be …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching Need Form validation help

    I've went over this code a number of times but I can't see where the issue lies. I'm trying to make the age text field numeric only however it won't …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Need Form validation help

    GI753, can you post the code where you use IsNumeric? It isn't in the code you posted. Could be something like this: if (age_val ==null || age_val =="" ) { …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Cant keep checkboxes checked on refresh

    In your page you should wrap that JS code inside a <script> tag and only call it on the page load, like: $(function() { // ...Code to be executed when …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching Deleting rows from Datagrid in ASP.Net

    Hi . I have an employee table with fields Employee Id, Employee Name, Address,Salary , Department ID and department table with fields DeptID,DeptName. I have added a data grid control …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Deleting rows from Datagrid in ASP.Net

    Hi dipanjana, have you tried something yet? If not you should take a look at those resources: http://www.codeproject.com/Articles/12666/GridView-Delete-with-Confirmation http://asp.net-informations.com/gridview/gridview-delete.htm If you already got something that is not working, paste your …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in What are your Other Hobbies Aside from Coding?

    Oh! Spammer! That hurted a bit! lol The 11st commandment should be "Thou shalt not spam" The vice is not for posting, it's just for checking it out ^^
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Cant keep checkboxes checked on refresh

    beserk, take a look at this fiddle: http://jsfiddle.net/aLhkoeed/6/ Your method is repopulateCheckboxes, but you're calling repoulateFormElements(); If you wanna do it with localStorage, take a look at this similar thread: …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in What are your Other Hobbies Aside from Coding?

    Jim, I'd say a vice! =P
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching What are your Other Hobbies Aside from Coding?

    The title explain itself :) Here goes mine: - Playing video games - Walking my dog - Watch some movies (craving for Horror genre) - Browse the web - Meet …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in What are your Other Hobbies Aside from Coding?

    Oh! There's so much to to and so little time to do it!! This what I've been doing in the past years: - Reading about health, science, governaments, ufos and …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching [javascript]A question about getting value from node

    <table class="filetable" id="filetable"> <thead> <tr> <th width="25%">名称</th> <th width="6%">大小</th> <th width="10%">类型</th> <th width="19%">修改日期</th> <th width="40%"></th> </tr> </thead> <tbody id="FileList" runat="server"> <tr> <td><img src="images/f01.png" />Adobe Dreamweaver CS5简体中文绿色</td> <td>2013/10/14 17:38</td> <td>文件夹</td> <td …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in [javascript]A question about getting value from node

    innerHTML will give you the HTML inside the node, if you want plain text use .innerText;
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching Android OS Path

    I am wondering what is the real develpement path for Android. Google creates it the new OS such as Lollipop and the individual phone manufactureres pass it out to cell …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Android OS Path

    I'm sure that manufactures tinker with the releases. I don't know if they all do it, but I'm certain that Samsung does it. I had an Galaxy SII and a …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching Cant keep checkboxes checked on refresh

    I have found several different methods for doing this online but for some reason i just cant get any of them to work for me, it may be they way …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Replied To a Post in Cant keep checkboxes checked on refresh

    Hi beserk. First detail: you're missing an ');' on the jQuery :checkbox change event listener. Where do you call repopulateFormELements() ? On window load? It isn't explicit in your code. …
  • Member Avatar for AleMonteiro
    AleMonteiro

    Began Watching JavaScript Help

    Hello. I need help with my javascript code.. In the screenshot I just uploaded here, When I input a non-numerical character on the 1st box, it should make the 2nd …

The End.