Questions with no comments/solutions

I would like to open up a window to display the response for the user enters value in the HTML page. I do not know how to make this happen as I have never done this. I could run some apps get data from the user store it in database on server. Validate it and post some response to that. But I do not know how to open the window,how to set the size and position. Will it be treated as a pop up? Can any body share a code snippet to open a dummy window?

  • 605 views
  • 0 answers
  • 0 votes

I want display the progress of a running script in HTML page. The script runs in the background. I would like to inform the user that the script is not frozen nd the process is in progress. I could do with a rotating circle or a sand timer symbol but I cannot tell exactly how much progress had ben made. I also know that there is a function to which I Ned to send the percentage complete parameter which then displays the progress bar. But, the problem is that I basically want to know how people dress has been done by the script? Thank you for helping.

  • 655 views
  • 0 answers
  • 0 votes

I have the website for which I am working hosted on BigRock. Now, whenever I try to search the website name in Google, I get the expected result. My website will be listed in top 10 links. But, when I click on the result, it takes me to a different website whose contents are entirely different and I am sure it is not my site. Yet the contents are related to my website topics. If I enter my website address manually, I can land on my website properly, so I am not doubting on redirecting or auto rules or any stuff like that. But I am unable to reach to my website via Google search. I have verified the link address in search result and it matches it perfectly.

  • 520 views
  • 0 answers
  • 0 votes

I have a set of strings and i want to list all the file lines which start with any of the substrings in the list. i am running perl 5.10.1 and i do not have CPAN support to install additional modules in the grounds of easy approach. The string length is limited to 10 characters. I have solution to find out the string which matches with the hash values but not the other way around. I want to know the line number in the file where the match exists, the string which matched with the line both captured efficiently. I have written a code already which does this but the code is very inefficient and slow.

  • 593 views
  • 0 answers
  • 0 votes

While trying to install SQL and module name of translator, i am facing the following error: –Convert schema to ” to ”:;. So the entire test failed. Has anybody faced this problem while installing perl modules? I am trying to install both manually and using CPAN but the problem still persists.. Any help towards this is greatly appreciated. What are the reasons? is there any tool which take care of all dependencies issue in case this is because of missing dependencies. I am running perl 5.10 in case that helps. DBI version is 1.609

  • 566 views
  • 0 answers
  • 0 votes

Intention of my program is to group all the comments based on the author name. I would like to show all the comments from one author together. I am trying to perform this in Python. is there a way to simply collect the list of a person’s comment based on name property? All the persons who comment has an unique name ID in the database and hence i can use that data. People cannot comment if they do not have the ID. It simply implies they have to first register and then comment. How to do this in cool way and with out attracting much headache in the future? Great thanks for your kind help.

  • 547 views
  • 0 answers
  • 0 votes

I am facing this problem when I am trying to edit a record. My requirement is simple, as soon as the user enters his or her name I have to check the field user_name and confirm the user that there is no matching name in database if there is no matching database. If it matches, I have to inform him or her the same. I am trying to use contract.exists?params([:user_name]) but it always return false irrespective of the value entered. I am using Ruby on rails for the above. I need simple code to check the database so that I will avoid duplicate entries which is compulsory requirement.

  • 509 views
  • 0 answers
  • 0 votes

I am using ruby on rails and I would like to know if it is possible to implement a form where user can register if it is first time visit, and login if he has already registered. The user will enter username and password and send a POST. It will be verified in the back ground and will allow the user to login if it is validated successfully. Currently i am facing error in authgem. I am trying to use JSON request and response to achieve my objective. So, this is basically a login page for the user to access my website. Is there any other solutions available? Thanks

  • 580 views
  • 0 answers
  • 0 votes

I am trying to create a count down timer in Ruby which displays time in the following format
00 : 30: 28,
00 : 30: 27,
00 : 30: 26,
00 : 30: 25… And so on. What is the way to achieve this? If I use Time.now , load the value to a variable and display it, I still cannot achieve the above requirement format of count down. I want to display only the time remaining but not the entire date and time which I am getting now with the use of Time.now feature in a on Rails. Can any beautiful mind help me in correcting what I have misunderstood? Thank you for your time and please reply if I ned to give some details.

  • 731 views
  • 0 answers
  • 0 votes

I am a newbie for Django but have good experience in creating webpages, adding contents and live tweets and other stuffs like that. I am adding a registration form for the users of my website to aid in registration of my website users. I want to perform the entire registration process in plain HTML, display errors to the users when they enter wrong details such as space in the email ID or not matching passwords. is it possible to generate the registration form with out using any readymade forms? Thank you for your reply. I am looking forward to develop from scratch independent of other modules which may become un reliable when modules are updated.

  • 550 views
  • 0 answers
  • 0 votes