can someone please help me with this javascript:void(null)
I found it used in link buttons as follows
<a onclick="ProcessResponse()" href="javascript:void(null)" >Accept Data</a>
Hi,
I am trying to make a module that works with ubercart. What Ineed to know is how do I hook into the loading of a product. I want to modify some of the data slightly before any output.
Thanks
Hi
Please help me in understanding the :source option of has_one/has_many through association. The Rails api explanation makes very little sense to me
"Specifies the source association name used by has_many :through queries. Only use it if the name cannot be inferred from the association. has_many :subscribers, :through = :subscriptions will look for either :subscribers or :subscriber on Subscription, unless a :source is given. "
Thanks.
Hey,
I'm having some issues trying to decode some javascript.. I have no idea what kind of encoding this is.. i tried base 64 decoders etc. If you can please help me out with this, here's a fragment of the code:
\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x70\x70\x34\x39\x34\x39\x3
Any ways I can get plain text from that?
Thanks!
Hi,
Ineed to have a linear Layout whose height is wrap_content,
but how can I specify a child of this linear layout to stretch to its parent?
I tried
... some other children ...
But this does not work. The image does not scretch.
Hello everyone,
I modified html codes generated by Firework, and now graphic was pused down I dont know how to fix it. Sorry Im still using tables, mixing up with css to create the list items....please help....What I did was extend the original graphic to make it taller to fit the list menu
http://imageoneads.com/work/inventory.htm
Thanks ahead
I have 2 tables:
Table A: code | name
Table B: barcode | name
Table B has full barcode and name, Table A has only code.
Ineed to run update query that fill name in Table A.
I tried something like:
update A set name = (select top 1 Name from B where B.Code = mid(A.Barcode,1,8))
but it doesn't work.
I own the domain name, iamgabeaudick.com. It was my personal website, but I now want to use it as my tumblr domain. I've changed the DNS, and tumblr confirms that the domain is set up correctly.
But when I access iamgabeaudick.com, a blank "Index of /" page appears.
Any ideas why this is? Do Ineed to configure the ftp files in some way?
I have a file "Gemfile" in my Rails project root.
It says source :gemcutter in the very first line.
Do I still need the line? If I'm correct, http://rubygems.org/ is the official source, and Gem Cutter was merged into rubygems.org.
It says , you must use the “set” method to update an entry. Pls help
My model is
$this->db->where('id', $this->uri->segment(3));
$this->db->update('mytable', $data);
My controller is
$data = $this->db->select('mytable', $_POST);
$this->contact_model->model_update_function($data);
I need a regular expression with the following needs:
the string is alphanumeric and have exactly 6 characters in the first half followed by hyphen(optional) followed by optional 4 characters:(cannot have more than 4 characters in the second half)
so any of the following is valid
11111A
111111-1
111111-yy
yyyyy-989
yyyyyy-9090
i thought this expression /[a-zA-Z0-9]([-])?[a-zA-Z0-9]{5,10}$/; should work but i m unable to get it working correctly.
Any help will be appreciated,
I have this html:
<a href="http://www.site.com/">This is the content.</a>
I just need to get rid of the anchor tag html around the content text, so that all I end up with is "This is the content".
Can I do this using Regex.Replace?
Hi folks.
I have a array like this:
my @arr = ("Field3","Field1","Field2","Field5","Field4");
Now i use map like below , where /DOSOMETHING/ is the answer am seeking.
my %hash = map {$_ => **/DOSOMETHING/** } @arr
Now I require the hash to look like below:
Field3 = 0
Field1 = 1
Field2 = 2
Field5 = 3
Field4 = 4
Any help?
Hello
I am using RSA7 as IDE, Ineed to use profiler in my IDE for memory analysis.
Can any one suggest me
From where I can free download it?
How can I use it with RSA7?
Many Thanks
hello all,
i want to convert flv video(downloaded from you tube) to any other format, i had search a lot, but every script changed any other format into flv while ineed flv to any other format. please suggest me any link or php script that convert flv to any other format.
one more question :why flv is preferred for video??
thanks.
I’m currently working on this theme : http://tf.ffffffive.com/fancy/
I just need a few pointers on how to get it working in IE6 and IE7 .
-The positioning is a bit off.
-If you guys have a helpful blog post of maybe give me a hand with some CSS coding I would really appreciate it.
Also the Javascript scrolling effect isn't working correctly due to the positioning. Any tips would be appreciated.
Thanks, Henry
Hi,
Ineed to run a javascript function when the update panel is loaded completely(I want to scroll), and not on initial page load.
Please suggest.
Thanks
I'm working for a website where ineed to sum functionality related to sales
I'm very new to the website stuff and found many things on net but don't knew what to follow.
Can anybody suggest me some good tutorials which i can follow to create my website
The things which i am going to work on as:
saving customer information to data base
using saved customer information, placing order
generating bills and invoices and downloading it in pdf file format
sending mails to customer with those invoice as attachments
I need to find out what variables and values are being POSTed to a script that I'm debugging. It's doing something strange to them, and it needs to start a session so I can't ouput them right at the beginning. I'm hoping to find a plug-in for Firefox that will show me what they are directly from the browser. Does anyone know of such a thing?
hi
i have this table:
id|date
1 | 10/11/2009
2 | 13/11/2009
1 | 20/12/2009
3 | 21/12/2009
1 | 30/12/2009
if i stand on the last record (id=1) and ineed to see the last date where
id=1 is appear -- will show me: 1 | 20/12/2009
what query will do it ?
thank's in advance
I need to create a custom route to list all the rooms in a given building. So, I want the url to look something like this:
/Building/1000/Room
Which would list all the rooms in Building 1000.
Is this the correct mapping for the route (to call the IndexByBuilding method in RoomController)?
routes.MapRoute(
"RoomsByBuilding",
"Building/{id}/Room",
new { controller = "Room", action = "IndexByBuilding", id = "" }
);
i need my url to be like this
http://google.com/index.php?title=about -> http://google.com/about/
the title more than 50,and same goes to pages
any idea?thanks
Hi, I have this regex for getting the YouTube video ID:
(?<=v=)[a-zA-Z0-9-]+(?=&)|(?<=[0-9]/)[^&\n]+|(?<=v=)[^&\n]+
I get it from there: http://stackoverflow.com/questions/2597080/regex-to-parse-youtube-yid
The problem is I get preg_match() Unknown modifier '[' warning.
I know I have to enclose the regex delimiters but I have no idea how to do this.
Any help?
I have a composite combobox control (textbox and a listbox):
Initially I have the cursor on the start, but when I select an item from the listbox and it gets displayed on the textbox then also the cursor remains at start position.
I want the cursor to be at the end. Please suggest/help.